hydromodpy.calibration.diagnostics#

Lightweight diagnostics helpers for calibration iteration traces.

Consumes a list-of-dicts or a pd.DataFrame matching the calibration_iterations schema. Parameter columns may be flat (one column per parameter) or nested under a single parameters dict column. Depends only on numpy and pandas.

Functions

convergence_rate(iterations, *[, objective])

Least-squares slope of best-so-far improvement vs.

iterations_to_dataframe(iterations)

Return a flat DataFrame with nested parameters dicts expanded.

parameter_correlation(iterations[, parameters])

Pearson correlation matrix over calibrated parameter columns.