pint.gridutils.doonefit
- pint.gridutils.doonefit(ftr, parnames, parvalues, extraparnames=[])[source]
Worker process that computes one fit with specified parameters fixed
- Parameters:
ftr (pint.fitter.Fitter) –
parnames (list) – Names of the parameters to grid over
parvalues (list) – List of parameter values to grid over (each should be 1D array of astropy.units.Quantity)
extraparnames (list, optional) – Names of other parameters to return
- Returns:
chi2 (float)
extraparvalues (list)