#include <fitmetrics.h>
|
| static FitMetrics | compute (const std::vector< double > &observed, const std::vector< double > &simulated) |
| | Compute metrics for two timestep-aligned series.
|
| |
|
| double | nse = 0.0 |
| | Nash-Sutcliffe efficiency (≤1, =1 perfect; <0 worse than mean).
|
| |
| double | r2 = 0.0 |
| | Coefficient of determination, Pearson² (0..1).
|
| |
| double | rmse = 0.0 |
| | Root mean square error, same units as inputs.
|
| |
| double | pbias = 0.0 |
| | Percent bias: 100 * Σ(sim-obs) / Σ(obs).
|
| |
| int | n = 0 |
| | Number of paired non-NaN samples used.
|
| |
◆ compute()
| FitMetrics openswmmvis::plot::FitMetrics::compute |
( |
const std::vector< double > & |
observed, |
|
|
const std::vector< double > & |
simulated |
|
) |
| |
|
static |
Compute metrics for two timestep-aligned series.
| int openswmmvis::plot::FitMetrics::n = 0 |
Number of paired non-NaN samples used.
◆ nse
| double openswmmvis::plot::FitMetrics::nse = 0.0 |
Nash-Sutcliffe efficiency (≤1, =1 perfect; <0 worse than mean).
◆ pbias
| double openswmmvis::plot::FitMetrics::pbias = 0.0 |
Percent bias: 100 * Σ(sim-obs) / Σ(obs).
◆ r2
| double openswmmvis::plot::FitMetrics::r2 = 0.0 |
Coefficient of determination, Pearson² (0..1).
◆ rmse
| double openswmmvis::plot::FitMetrics::rmse = 0.0 |
Root mean square error, same units as inputs.
The documentation for this struct was generated from the following files:
- /home/runner/work/openswmm.gui/openswmm.gui/include/plot/fitmetrics.h
- /home/runner/work/openswmm.gui/openswmm.gui/src/plot/fitmetrics.cpp