Number of free parameters in an lmfit.Model #825
Answered
by
reneeotten
eendebakpt
asked this question in
Q&A
Replies: 2 comments 2 replies
-
See the documentation, it’s already an attribute of the MinimizerResult —> nvarys
https://lmfit.github.io/lmfit-py/fitting.html#lmfit.minimizer.MinimizerResult
Renee
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
eendebakpt
-
@eendebakpt See also https://lmfit.github.io/lmfit-py/model.html#lmfit.model.nfree: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to know the number of free parameters in a Model (used to check the input data for fitting has enough data points to perform the fitting). Is there functionality for this already?
If not, would adding a property like:
to the
lmfit.Model
be a good way to determine the number?Beta Was this translation helpful? Give feedback.
All reactions