Closed buzinsky closed 3 months ago
This didn't get copied over from my other PR. Here is what is in the repo now:
Merge: added feature to allow for both
Harmonic/ Anharmonic traps
Include/ neglect frequency modulation due to magnetic field changes
It seems like it is working. When I test all 4 possibilities, the powers in the sidebands are approximately all the same, but they do differ on the percent level. Presumably for very low pitch betas, magnetic_modulation will be more and more important
The Bessel style calculation is retained when harmonic == True and magnetic_modulation == False. I do see the other flags roughly agree
I ran basic tests for (one) electron to make sure that it is producing sensible results. You can see how non-harmonic it is. I will want you to (or to pass along) the notebook where you looked at the population studies, indicating that going to deeper traps resulted in more electrons. We do want to compare this code to the harmonic assumption a bit more.
Bottom plot is power vs. sideband number