Fittable2DModel

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

Bases: astropy.modeling.FittableModel

Base class for two-dimensional fittable models.

This class provides an easier interface to defining new models. Examples can be found in astropy.modeling.functional_models.

Attributes Summary

inputs
outputs

Methods Summary

__call__(x, y[, 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', 'y')
outputs = ('z',)

Methods Documentation

__call__(x, y, 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.