# Fittable1DModel¶

class astropy.modeling.Fittable1DModel(*args, meta=None, name=None, **kwargs)[source] [edit on github]

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

Methods Summary

 __call__(x[, model_set_axis, …]) Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.

Attributes Documentation

inputs = ('x',)
outputs = ('y',)

Methods Documentation

__call__(x, model_set_axis=None, with_bounding_box=False, fill_value=nan, equivalencies=None) [edit on github]

Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.