cwitools.modeling.moffat1d¶
-
cwitools.modeling.
moffat1d
(params, x)¶ 1D Moffat profile in the form f(parameters, x)
I(x) = I0 * (1 + ((x - x0)/ gamma)^2)^(-alpha)
Parameters: - params (list) – 1D Moffat parameters (I0, x0, alpha, gamma)
- x (numpy.array) – The input on which to evaluate the model
Returns: The Moffat model output
Return type: numpy.array