double_voigt
- mcalf.profiles.voigt.double_voigt(x, a1, b1, s1, g1, a2, b2, s2, g2, d, **kwargs)[source]
Double Voigt function with background.
- Parameters:
x (numpy.ndarray) – Wavelengths to evaluate Voigt function at.
a1 (float) – Amplitude of 1st Voigt function.
b1 (float) – Central line core of 1st Voigt function.
s1 (float) – Sigma (for Gaussian) of 1st Voigt function.
g1 (float) – Gamma (for Lorentzian) of 1st Voigt function.
a2 (float) – Amplitude of 2nd Voigt function.
b2 (float) – Central line core of 2nd Voigt function.
s2 (float) – Sigma (for Gaussian) of 2nd Voigt function.
g2 (float) – Gamma (for Lorentzian) of 2nd Voigt function.
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.
voigt
Voigt function with background added.
double_voigt_nobg
Two Voigt functions added together.