Bases: astropy.modeling.FittableModel
Base class for one-dimensional fittable models.
This class provides an easier interface to defining new models. Examples can be found in astropy.modeling.functional_models.
Attributes Summary
n_inputs | int(x[, base]) -> integer |
n_outputs | int(x[, base]) -> integer |
Methods Summary
__call__(*inputs, **kwargs) | Transforms data using this model. |
eval() | A method, classmethod, or staticmethod that implements evaluation of the function represented by this model. |
Attributes Documentation
Methods Documentation
Transforms data using this model.
Parameters: | x : array-like or numeric value
y : array-like or numeric value
model_set_axis : int or False, optional |
---|
A method, classmethod, or staticmethod that implements evaluation of the function represented by this model.
It must take arguments of the function’s independent variables, followed by the function’s parameters given in the same order they are listed by Model.param_names.