boltzmann_level

typhon.spectroscopy.boltzmann_level(elow, t, t0)[source]

Computes the Boltzmann level function

K1=exp(El[TT0]kBTT0),

where kB is the Boltzmann constant.

All ndarrays must be of same size, any of the inputs can be ndarray

Parameters:
  • elow (float or ndarray) – Lower state energy level [J]

  • t (float or ndarray) – Temperature [Kelvin]

  • t0 (float or ndarray) – Line temperature [Kelvin]

Returns

K1 (like input): How much Boltzmann statistics feeds the transition

S(T)=S(T0)K1K2Q(T0)Q(T)