utils
Full module path: rydstate.angular.utils
Functions
|
Check if the spin addition rule is satisfied. |
|
Determine a list of possible s_tot values from s_1 and s_2 if s_tot is not given, else return [s_tot]. |
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. |
|
|
Return an AngularKet object in the corresponding coupling scheme from the given quantum numbers. |
|
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