Possible issue in RadialWaveFunction #171
Closed
TanAndMichaelLover112
started this conversation in
General
Replies: 1 comment 7 replies
-
You need closed parenthesis when you use the class i.e. Rubidium().getTransitionRate(70, 1, 0.5, 5, 0, 0.5) which should return 58.4454932620277 If 70 to 60 worked than it may be that you were not using the correct atom, as this would not be allowed in Caesium() |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings,
I am unsure if this is my misuse or an error but if I try to calculate the transition rate from a high Rydberg state (70 p1/2) to a low one (ground, 5s1/2) for a Rubidium atom, I get a "TypeError: 'NoneType' object is not subscriptable".
It appears that the span is too great for the code to handle as going from (n=) 70 to 60 works, however, I kind of need this jump
I am not too good on Python so you will have to forgive me if this is a simple fix.
Thank you,
Example Rubidium.getTransitionRate(70, 1, 1/2, 5, 0, 1/2)
If it's an issue due to calculation precision, is there a simple way to increase the precision?
Beta Was this translation helpful? Give feedback.
All reactions