- class cofi.InversionResult(res: dict)#
The result class of an inversion run.
You won’t need to create an object of this class by yourself. See
Inversion.runfor how you will get such an instance.
When using sampling methods, you get a
SamplingResultobject, with additional analysis methods attached.
- summary() None #
Helper method that prints a summary of the inversion result to console
- success: bool#
indicates status of the inversion run
- res: dict#
raw output from backend ineference tools
- class cofi.SamplingResult(res: dict)#
the result class of an inversion run, when the inversion is sampling-based
This is a subclass of
InversionResult, so has the full functionality of it. Additionally, you can convert a
SamplingResultobject into an
arviz.InferenceDataobject so that various plotting functionalities are available from arviz.
convert sampler result into an
Note that this method takes in keyword arguments that matches the
arviz.from_<library>function. If your results are sampled from emcee, then you can pass in any keyword arguments as described in