hyperfine.minuit

Utilities for interacting with the iminuit package.

Functions

correlation2dict(minuit)

Convert the correlation matrix to a serializable dictionary.

covariance2dict(minuit)

Convert the covariance matrix to a serializable dictionary.

fmin2dict(minuit)

Convert the metadata about the cost function minimum to a serializable dictionary.

json2minuit(minuit, filename)

De-serialize fitting results from a JSON file to an iminuit.Minuit object.

minos2dict(minuit)

Convert the MINOS errors to a dictionary.

minuit2json(minuit, filename)

Serialize fitting results from an iminuit.Minuit object to a JSON file.

Classes

GenericLeastSquares3D(model, x, y, z, value, ...)

Generic 3D least-squares cost function with error.

LeastSquares3D(model, x, y, z, value, error)

Improved 3D least-squares cost function with error that deduces the parameter names and the numbers of parameters from the model signature via introspection.