double_voigt_approx_nobg¶
-
mcalf.profiles.
double_voigt_approx_nobg
(x, a1, b1, s1, g1, a2, b2, s2, g2)[source]¶ Double Voigt function (efficient approximation) with no background
- Parameters
x (ndarray) – Wavelengths to evaluate Voigt function at.
a1 (float) – Amplitude of the Lorentzian 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 2st Voigt function.
b2 (float) – Central line core of 2st Voigt function.
s2 (float) – Sigma (for Gaussian) of 2st Voigt function.
g2 (float) – Gamma (for Lorentzian) of 2st Voigt function.
- Returns
result – The value of the Voigt function here.
- Return type
ndarray of shape x.shape
See also
voigt_approx_nobg()
Base approximated Voigt function with no background
voigt_approx()
Approximated Voigt function with background added
double_voigt_approx()
Two approximated Voigt functions and a background added together
voigt_nobg()
Base Voigt function with no background
voigt()
Voigt function with background added
double_voigt_nobg()
Two Voigt functions added together
double_voigt()
Two Voigt function and a background added together