- qspec.models.Model. fit_prepare ( )[source]
-
Convert the fix states of the parameters into the
p0_fixedandboundsparameters ofqspec.analyze.curve_fit.- Returns:
-
- (fixed, bounds)tuple[list[fix_type], tuple[float | list[float], float | list[float]]]
A list of
boolvalues specifying which parameters are not varied in a fit and the bounds of the fit parameters.
- Raises:
-
- TypeError
If a fix state has an unsupported type.