DogBoxLSQFitter

class astropy.modeling.fitting.DogBoxLSQFitter(calc_uncertainties=False, use_min_max_bounds=False)[source]

Bases: astropy.modeling.fitting._NLLSQFitter

DogBox algorithm and least squares statistic.

Parameters
calc_uncertaintiesbool

If the covarience matrix should be computed and set in the fit_info. Default: False

use_min_max_bounds: bool

If the set parameter bounds for a model will be enforced each given parameter while fitting via a simple min/max condition. A True setting will replicate how LevMarLSQFitter enforces bounds. Default: False

Attributes
fit_info

A scipy.optimize.OptimizeResult class which contains all of the most recent fit information