get_final_model

sofia_redux.toolkit.fitting.fitpeaks1d.get_final_model(peak_class, pinit, background_class=None, bg_args=None, binit=None, min_width=None, xbounds=None, **kwargs)[source]

Refine the initial fit and return a set of models

Parameters:
peak_classastropy.modeling.Fittable1DModel instance
pinitarray_like of float
background_classastropy.modeling.Fittable1DModel, optional
binitarray_like of float, optional

(n_background_parameters,) array of initial background parameter estimates.

min_width2-tuple of (str, float), optional
xbounds2-tuple of float, optional
kwargsdict, optional
Returns:
list of astropy.modeling.Fittable1DModel