hyperfine.minuit.minuit2json

hyperfine.minuit.minuit2json(minuit: Minuit, filename: str) None[source]

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

Serialization includes data for: values, errors, limits, fixed, covariance, merrors, and fmin. Parameter correlations (derived from covariance) are also included.

Parameters:
  • minuit – The iminuit.Minuit object.

  • filename – Name of JSON file to save the serialized fit results.