hydromodpy.calibration.metrics.network#
Physical network metrics for calibration prototypes.
The helpers in this module are intentionally solver-agnostic. They score a cell-based drainage network from positive per-cell outflow, cell centroids and cell areas. This keeps the first network/discharge calibration prototype out of the global calibration schema until the contract is stable.
Functions
|
Return |
|
Return the cell-network length equivalent |
|
Return distance from every centroid to the nearest active mask cell. |
|
Return the B0 physical network cost. |
|
Return the outflow-weighted placement error. |
|
Return the normalized L1 error in per-cell drainage outflow. |
|
Return the relative error in active network equivalent length. |
|
Return a flat finite positive-outflow vector. |
Classes
|
Composite network cost and diagnostic components. |