-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method to calculate absolute transition frequency #29
Comments
Out of curiosity, what's the use-case? Does the splitting of the magnetic/hyperfine subleves make a noticeable difference to the overall transition frequency? Anyway, yes, that's a good idea. I don't like the |
This would allow a Stark shift solver to just sum over all levels, and one does not have to think (all levels being S-P1/2, S-P3/2, or D-P1/2, D-P3/2). Similarly, a Raman matrix element calculation can just sum over all coupled levels, rather than require extra manual work, meaning it works for all ions and all wavelengths for free |
So you want to do something like this calculation, summing over transitions: https://github.com/OxfordIonTrapGroup/ion_phys/blob/8a4fc96e531332391a871617ed102166d9b5323b/ion_phys/rate_equations.py#L76-L77 ? The way I like to write code is to keep things as matricies which I can multiple. AFAICT the way you're suggesting you'd be iterating over pairs of states (since I assume |
Following: #27 (comment) I think the best bet here is:
|
Yes, but in more complex situations, e.g. for a Raman coupling: |
Ok. Are you happy with my proposed solution? If so, it's quick to implement so I'll aim to do it soon... |
Yes - LGTM |
It would be useful to have a method that calculates the absolute transition frequency between any pair of states
The text was updated successfully, but these errors were encountered: