LinearLSQFitter

class astropy.modeling.fitting.LinearLSQFitter[source] [edit on github]

Bases: object

A class performing a linear least square fitting.

Uses numpy.linalg.lstsq to do the fitting. Given a model and data, fits the model to the data and changes the model’s parameters. Keeps a dictionary of auxiliary fitting information.

Attributes Summary

supported_constraints

Methods Summary

__call__(model, x, y[, z, equivalencies])

Attributes Documentation

supported_constraints = [‘fixed’]

Methods Documentation

__call__(model, x, y, z=None, equivalencies=None, **kwargs)[source] [edit on github]