JointFitter¶
- class astropy.modeling.fitting.JointFitter(models, jointparameters, initvals)[source]¶
Bases:
object
Fit models which share a parameter. For example, fit two gaussians to two data sets but keep the FWHM the same.
- Parameters:
- models
python:list
a list of model instances
- jointparameters
python:list
a list of joint parameters
- initvals
python:list
a list of initial values
- models
Methods Summary
__call__
(*args)Fit data to these models keeping some of the parameters common to the two models.
objective_function
(fps, *args)Function to minimize.
Methods Documentation