arc.calculations_atom_pairstate.PairStateInteractions.plotLevelDiagram#
- PairStateInteractions.plotLevelDiagram(highlightColor='red', highlightScale='linear', units='GHz')[source]#
Plots pair state level diagram
Call
showPlot
if you want to display a plot afterwards.- Parameters
highlightColor (string) – optional, specifies the colour used for state highlighting
highlightScale (string) – optional, specifies scaling of state highlighting. Default is ‘linear’. Use ‘log-2’ or ‘log-3’ for logarithmic scale going down to 1e-2 and 1e-3 respectively. Logarithmic scale is useful for spotting weakly admixed states.
units (
char
,optional) – possible values {’GHz’,’cm’,’eV’}; [case insensitive] if value is ‘GHz’ (default), diagram will be plotted as energy \(/h\) in units of GHz; if the string contains ‘cm’ diagram will be plotted in energy units cm \({}^{-1}\); if the value is ‘eV’, diagram will be plotted as energy in units eV.