# TDS calibration from phase jitter, to be completed... MO_FREQ = 142.8e6 # MO = 142.8 MHz run('Tools/CameraCorrelation') start_camera_correlation("SATMA02-RLLE-DSP:PHASE-VS", #"SATBD02-DSCR050_sp x_center_of_mass", "SLG-LCAM-C103_sp x_center_of_mass", samples = 200, modulo = 10, offset = 0, plt = plot(None)[0]) while True: # the loop should run until the value is stable or a timeout is reached a = linear_fit.read() b = correlation.read() stop_camera_correlation() calib = a * 360 * 84 * MO_FREQ / 1e15 # um/fs print(calib)