Bases: astropy.modeling.Fittable1DModel
One dimensional Box model.
Parameters: | amplitude : float
x_0 : float
width : float
|
---|---|
Other Parameters: | |
fixed : a dict
tied : dict
bounds : dict eqcons : list
ineqcons : list
|
See also
Notes
Model formula:
f(x) = \left \{ \begin{array}{ll} A & : x_0 - w/2 \geq x \geq x_0 + w/2 \\ 0 & : \textnormal{else} \end{array} \right.
Attributes Summary
amplitude | |
param_names | |
width | |
x_0 |
Methods Summary
evaluate(x, amplitude, x_0, width) | One dimensional Box model function |
fit_deriv(x, amplitude, x_0, width) | One dimensional Box model derivative with respect to parameters |
Attributes Documentation
Methods Documentation
One dimensional Box model function
One dimensional Box model derivative with respect to parameters