Bases: astropy.modeling.Fittable1DModel
One dimensional Trapezoid model.
| Parameters: | amplitude : float 
 x_0 : float 
 width : float 
 slope : float 
 | 
|---|---|
| Other Parameters: | |
| fixed : a dict 
 tied : dict 
 bounds : dict eqcons : list 
 ineqcons : list 
 | |
See also
Attributes Summary
| amplitude | |
| input_names | list() -> new empty list | 
| param_names | list() -> new empty list | 
| slope | |
| width | |
| x_0 | 
Methods Summary
| eval(*args, **kwargs) | Deprecated since version 1.0. | 
| evaluate(x, amplitude, x_0, width, slope) | One dimensional Trapezoid model function | 
Attributes Documentation
Methods Documentation
Deprecated since version 1.0: The eval method is deprecated and may be removed in a future version. Use Trapezoid1D.evaluate instead.
One dimensional Trapezoid model function
One dimensional Trapezoid model function