hyperfine.minuit.correlation2dict

hyperfine.minuit.correlation2dict(minuit: Minuit) dict[source]

Convert the correlation matrix to a serializable dictionary.

Convert the correlation matrix (i.e., derived from 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.Minuit object.

Returns:

A serializable dictionary containing the correlation matrix.