Helium6CRES / he6-cres-spec-sims

A python package to simulate cres data for the 6He CRES experiment at CENPA (University of Washington).
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Feature/anharmonic #1

Closed buzinsky closed 3 months ago

buzinsky commented 2 years ago

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

traj spec

buzinsky commented 2 years 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