voigt_faddeeva

mcalf.profiles.voigt.voigt_faddeeva(x, s, g, **kwargs)[source]

Voigt function implementation (Faddeeva).

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

  • 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`