OxIonics / ionics_fits

Small python fitting library with an emphasis on Atomic Molecular and Optical Physics
Apache License 2.0
0 stars 0 forks source link

Add sampling-based frequency offset heuristic for Rabi frequency model #64

Closed hartytp closed 1 year ago

hartytp commented 1 year ago

Prior to this our only heuristic for the frequency offset was based on the Sinc2 fit (which currently uses a FFT internally). Now we add an additional heuristic which looks at all points with decent contrast and tries those out as centre values.

@saking2 my motivation here is that I felt that the frequency servo fits were failing a few times when I would have expected them to succeed. Hopefully having two heuristics should make it more robust. Would you mind having a go with this on your test branch and see if it's robust? I really want this to be bullet proof so we don't get flaky servos!