cwitools.modeling.sersic1d¶
-
cwitools.modeling.
sersic1d
(params, r)¶ 1D Sersic profile in the form f(parameters, r)
I(r) = I0 * exp(-b_n * (r / Re)^(1 / n)) where b_n is approximated as (2 * n - 1 / 3)
Parameters: - params (list) – Model parameters (I0, Re, n)
- r (numpy.array) – Model input
Returns: The Sersic model
Return type: numpy.array