cwitools.modeling.gauss1d¶
-
cwitools.modeling.
gauss1d
(params, x)¶ 1D Gaussian profile in the form f(parameters, x)
I(x) = I0 * exp(-(x - x0)^2 / (2 * sigma^2))
Parameters: - params (list) – 1D Gaussian parameters (amplitude, mean, std_dev)
- x (numpy.array) – The input on which to evaluate the model
Returns: The Gaussian model output
Return type: numpy.array