exa.core.model_selection_fitter.models.model_utils.prefixed_expr#
- prefixed_expr(set_param_hint)#
Decorates
set_param_hintto prefix every parameter name inside anexprhint.lmfitprefixes the parameters a model owns but never rewrites the expression text of its hints, so anexprwritten in bare names refers to nothing once the model has a prefix. Rewriting the expression here, before it reacheslmfit, means every hint that ties parameters together can be written once, in bare names, and keeps working regardless of the prefix the model is given.