SLSQPLSQFitter

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

Bases: astropy.modeling.fitting.Fitter

SLSQP optimization algorithm and least squares statistic.

Raises:

ModelLinearityError

A linear model is passed to a nonlinear fitter

Attributes Summary

supported_constraints

Methods Summary

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

Attributes Documentation

supported_constraints = ['bounds', 'eqcons', 'ineqcons', 'fixed', 'tied']

Methods Documentation

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