Term strings

The format for the term should be familiar to most users. It starts with an integer representing $2S+1$ followed by the spectroscopic letter representing the total orbital angular momentum, $L$. An example is 2P where $S=1/2$ and $L=1$.