typhon.spectroscopy

Functions directly related to spectroscopy.

typhon.spectroscopy.linewidth(f, a)[source]

Calculate the FWHM of an absorption line.

Parameters:
  • f (ndarray) – Frequency grid.
  • a (ndarray) – Absorption cross-sections.
Returns:

Linewidth.

Return type:

float