Function adas.xxlvals
def xxlvals(usej=False)
-
Returns an array of the orbital angular momentum specifications, i.e. s, p, d, f…
Parameters
usej
:bool
- Include j as valid which is non-standard.
Returns
str, array
- orbital angular momentumn.
Notes
This function contains hard coded orbital angular momentum specifications as given by chapter V of Condon and Shortley.
There has been some confusion as to whether the letter 'j' should be used as an angular momentum specifier since it conflicts with commonly used variable to denote angular momentum. This routine defaults to NOT using it (in keeping with the definition given by Condon and Shortley) but allows the caller to specify that it should be used to allow for correct interpretation of datasets which follow the different convention. There is no such confusion with the use of the letter 'l'.
Version History
- Martin O'Mullane, 07-10-2020
- First version
Example
>>> import adas as adas >>> adas.xxlvals() array(['s', 'p', 'd', 'f', 'g', 'h', 'i', 'k', 'l', 'm', 'n', 'o', 'q', 'r', 't', 'u'], dtype='<U1')