Closed kmnhan closed 6 months ago
This also happens for built-in models so it is not our problem, but strangely it doesn't happen for composite models. Maybe a bug in lmfit
On second thought, make_params
should be called before anyone fits anything anyways. Should just call it before getting the parameter names in the fitting accessor.
Description
After a call to
make_params
, sigma and amplitude which are not real function parameters appear in function signature detected by lmfit.Expected behavior
Sigma and amplitude should not appear in parameter names, nor appear in the covariance matrix.
Minimal Complete Verifiable Example
MVCE confirmation
Additional context
No response