SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
fitmetrics.h File Reference

Slice BL — goodness-of-fit metrics for the 1v1 comparison column. More...

#include <vector>
Include dependency graph for fitmetrics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmmvis::plot::FitMetrics
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::plot
 

Detailed Description

Slice BL — goodness-of-fit metrics for the 1v1 comparison column.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Given two timestep-aligned series — baseline (treated as "observed" for NSE / PBIAS sign conventions) and comparison ("simulated") — compute the classic hydrology fit statistics displayed in the column-1 scatter title.

NaN inputs are dropped pairwise (both samples skipped) before the computation. If fewer than 2 valid pairs remain, every metric returns NaN.