spectrochempy.FitParameters¶
- class FitParameters[source]¶
Allow passing a dictionary of parameters with additional properties to the fit function. Check if the parameter is between the specified bounds if any.
Methods
FitParameters.get
(key[, default])FitParameters.pop
(key[, default])If key is not found, d is returned if given, otherwise KeyError is raised.
as a 2-tuple; but raise KeyError if D is empty.
FitParameters.setdefault
(key[, default])FitParameters.to_internal
(key[, expi])If expi is not none, several parameters to create.
FitParameters.update
([other])If E present and has a .keys() method, does: for k in E: D[k] = E[k] If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k, v in F.items(): D[k] = v