14 lines
547 B
Python
14 lines
547 B
Python
# TDS calibration from phase jitter, to be completed...
|
|
run('Tools/CameraCorrelation')
|
|
start_camera_correlation("SATMA02-RLLE-DSP:PHASE-VS",
|
|
"SATBD02-DSCR050_sp1 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()
|
|
MO_FREQ = 142.8e6 # MO = 142.8 MHz
|
|
calib = a * 360 * 84 * MO_FREQ / 1e15 # um/fs
|
|
print(calib)
|