hyperfine.minuit.covariance2dict
- hyperfine.minuit.covariance2dict(minuit: Minuit) dict[source]
Convert the covariance matrix to a serializable dictionary.
Convert the covariance matrix (i.e., the MIGRAD or HESSE errors) determined by the MINUIT2 minimizer to a serializable dictionary (i.e., one that is compatible with JSON).
- Parameters:
minuit – The
iminuit.Minuitobject.- Returns:
A serializable dictionary containing the covariance matrix (i.e., errors computed by MIGRAD or HESSE).