utils
Full module path: rydstate.angular.utils
Functions
|
Check if the spin addition rule is satisfied. |
|
Format a quantum number as string. |
|
Return the coupling scheme, in which the given quantum number is a good quantum number. |
|
Determine a list of possible s_tot values from s_1 and s_2 if s_tot is not given, else return [s_tot]. |
|
Return the quantum number name corresponding to the given operator. |
Return a list of quantum number names that are good quantum numbers in the given coupling scheme. |
|
Return the spectroscopic letter (s, p, d, f, ...) for the orbital angular momentum quantum number l. |
|
Check if the given string is an AngularMomentumQuantumNumbers. |
|
Check if the given string is an AngularOperatorType. |
|
|
Check if the obj is the NotSet singleton. |
|
Check if obj is Unknown. |
|
Wrap functools.lru_cache for correct type annotations. |
Calculate (-1)^n for an integer n and raise an error if n is not an integer. |
|
|
Try to determine s_tot from s_1 and s_2 if it is not given. |
Classes
|
Singleton for a not set value and type at the same time. |
|
Singleton for a unknown quantum number and type at the same time. |
Exceptions
|
Module description