Branching ratios between hyperfine and fine basis #163
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I had a problem recently that needed to solve a system with sublevels from a fine Rydberg state and a low-lying hyperfine state. ARC provides all the tools, but I found what I think are gaps in calculating transition rates.
This PR adds some companion functions to the existing
getBranchingRatio
(which only covers hyperfine->hyperfine transition rates). Ultimately these functions are simple enough that there is an argument that they aren't necessary. But I think it would be good to add them to ARC since working them out has some tricky aspects for the average ARC user:getSphericalDipoleMatrixElement
method, so replicating functionality requires reading source codeSpeaking of vetted source of truth, it would be good for others to confirm this experimentalist has actually calculated things correctly. I also have no preference regarding syntax or coding style, I merely tried to follow conventions set by
getBranchingRatio
. Happy to make whatever changes deemed necessary.