OxfordIonTrapGroup / oitg

Python package of helper routines (result loading, fitting, etc) for the Oxford Ion-Trap Group (OITG).
https://oxfordiontrapgroup.github.io/oitg/
13 stars 9 forks source link

Robust sinc^2-like frequency scan fit for arbitrary pulse areas #9

Closed dnadlinger closed 4 years ago

dnadlinger commented 5 years ago

It would be nice to have a robust way of fitting the spectra from scanning over a two-level-like transition with constant pulse area (i.e. sinc^2-like if area is exactly π).

I expect this to be a bit flaky if both pulse area and upper/lower levels are floated, but the user could always constrain these for better convergence.

pathfinder49 commented 5 years ago

I've already started looking at this.

pathfinder49 commented 5 years ago

What are your exact requirements?

The full relation for arbitary pulse area, detuning and rabi frequency is:

P_transfer = omega^2 * t_pulse^2 /4 * sinc^2(W*t_pulse/2)
where W = sqrt(omega^2 + (detuning+offset)^2)

if we do a detuning scan, the following parameters relate to these properties: feature width - t_pulse (gives oscillation frequency) feature shape - omega (distorts x-axis) feature position - offset

To account for errors you'd want something like:

a omega^2 t_pulse^2 /4 sinc^2(Wt_pulse/2) + y0

does this cover your needs?

dnadlinger commented 5 years ago

At first glance, yes, something like that. As always, the real work will be in making the heuristics work sensibly on actual non-ideal data.

pathfinder49 commented 4 years ago

Done