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:
Attributes Summary
| amplitude | |
| input_names | list() -> new empty list | 
| param_names | list() -> new empty list | 
| width | |
| x_0 | 
Methods Summary
| eval(*args, **kwargs) | Deprecated since version 1.0. | 
| 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
Deprecated since version 1.0: The eval method is deprecated and may be removed in a future version. Use Box1D.evaluate instead.
One dimensional Box model function
One dimensional Box model function
One dimensional Box model derivative with respect to parameters