Commit c959b978 authored by Neil Vaytet's avatar Neil Vaytet
Browse files

Missing negative sign in relative shifts!

parent 9e71964b
......@@ -62,9 +62,9 @@ def get_frame_shifts(frequency_wfm_psc=None):
relative_shifts = (_tof_shifts(_wfm_psc_1(), psc_frequency=frequ1) + \
_tof_shifts(_wfm_psc_2(), psc_frequency=frequ2)) * \
5.0e+05
5.0e+05 # factor of 0.5 * 1.0e6 (taking mean and converting to microseconds)
return relative_shifts
return -relative_shifts
def make_frame_shifts(initial_shift, other_shifts=(-2420, -2253, -2095, -1946, -1810)):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment