Bases: astropy.modeling.polynomial.PolynomialModel
1D Legendre polynomial.
| Parameters: | degree : int
domain : list or None window : list or None
param_dim : int
**params : dict
|
|---|---|
| Other Parameters: | |
fixed : a dict
tied : dict
bounds : dict eqcons : list
ineqcons : list
|
|
Methods Summary
| __call__(*inputs, **kwargs) | Transforms data using this model. |
| clenshaw(x, coeff) | |
| fit_deriv(x, *params) | Computes the Vandermonde matrix. |
Methods Documentation
Transforms data using this model.
| Parameters: | x : scalar, list or array
|
|---|
Computes the Vandermonde matrix.
| Parameters: | x : ndarray
params : throw away parameter
|
|---|---|
| Returns: | result : ndarray
|