voigt_nobg

mcalf.profiles.voigt.voigt_nobg(x, a, b, s, g, impl=<function voigt_integrate>, **kwargs)[source]

Voigt function with no background (Base Voigt function).

This is the base of all the other Voigt functions.

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).

Returns

result – The value of the Voigt function here.

Return type

numpy.ndarray, shape=`x.shape`

See also

voigt

Voigt function with background added.

double_voigt_nobg

Two Voigt functions added together.

double_voigt

Two Voigt function and a background added together.