arc.alkali_atom_functions.printStateString#

printStateString(n, l, j, s=None)[source]#

Returns state spectroscopic label for numeric \(n\), \(l\), \(j\) label of the state.

Optionally users can define \(s\), prompting printing \(2S+1\) index too (commonly used for Alkaline Earth atoms, while it is usually omitted for Alkali atoms)

Parameters
  • n (int) – principal quantum number

  • l (int) – orbital angular momentum

  • j (float) – total angular momentum

  • s (float) – (optional) total spin momentum

Returns

label for the state in standard spectroscopic notation

Return type

string