The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.model.Model.fit_report#

Model.fit_report(corr=False, stderr=False, warnings=True, output=None)[source]#

Method that reports on the fit after a model is optimized.

Parameters
  • corr (bool, optional) – If True the parameter correlations are shown.

  • stderr (bool, optional) – If True the standard error of the parameter values are shown. Please be aware of the conditions for reliable uncertainty estimates, more information here: https://pastas.readthedocs.io/en/master/examples/diagnostic_checking.html

  • warnings (bool, optional) – print warnings in case of optimization failure, parameters hitting bounds, or length of responses exceeding calibration period.

  • output (str, optional (deprecated)) – deprecated argument, use corr and stderr arguments instead.

Returns

report – String with the report.

Return type

str

Examples

This method is called by the solve method if report=True, but can also be called on its own:

>>> print(ml.fit_report)

Notes

The reported values for the fit use the residuals time series where possible. If interpolation is used this means that the result may slightly differ compared to using ml.simulate() and ml.observations().