single_gaussian¶
-
mcalf.profiles.gaussian.
single_gaussian
(x, a, b, c, d)[source]¶ Gaussian function.
- Parameters
x (numpy.ndarray) – Wavelengths to evaluate Gaussian function at.
a (float) – Amplitude.
b (float) – Central line core.
c (float) – Sigma of Gaussian.
d (float) – Background to add.
- Returns
result – The value of the Gaussian function here.
- Return type
numpy.ndarray, shape=`x.shape`