set_param_hints_endswith

threadcount.lmfit_ext.set_param_hints_endswith(self, name, **kwargs)[source]

Set param hints for all model params names ending in name.

Parameters:
  • name (str) – The string to search the param names for, at the end of the name.

  • **kwargs (dict) – Passed to lmfit.models.Model.set_param_hint() for each matching param name.

See also

lmfit.models.Model.set_param_hint()

Examples

>>> from threadcount.models import Const_3GaussModel
>>> model = Const_3GaussModel()
>>> model.set_param_hint_endswith("_sigma", min=0.9)