voigt

mcalf.profiles.voigt.voigt(x, a, b, s, g, d, **kwargs)[source]

Voigt function with background.

Parameters:
  • x (numpy.ndarray) – Wavelengths to evaluate Voigt function at.

  • a (float) – Amplitude of the Lorentzian.

  • b (float) – Central line core.

  • s (float) – Sigma (for Gaussian).

  • g (float) – Gamma (for Lorentzian).

  • d (float) – Background.

Returns:

result – The value of the Voigt function here.

Return type:

numpy.ndarray, shape=`x.shape`

See also

voigt_nobg

Base Voigt function with no background.

double_voigt_nobg

Two Voigt functions added together.

double_voigt

Two Voigt function and a background added together.