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
seriesstatistics.h File Reference

Slice AT.3 — pure summary statistics for one time-series. More...

#include "plot/numberformat.h"
#include <QString>
#include <vector>
Include dependency graph for seriesstatistics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmmvis::plot::SeriesStatistics
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::plot
 

Functions

SeriesStatistics openswmmvis::plot::computeStatistics (const std::vector< double > &values)
 Compute summary statistics over values. NaN / Inf samples are skipped. Empty input yields count=0 and all-NaN fields.
 
QString openswmmvis::plot::formatStatisticValue (double value, const NumberFormat &format)
 Format one statistics value using the supplied numeric format. Non-finite values render as an em dash.
 

Detailed Description

Slice AT.3 — pure summary statistics for one time-series.

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

The StatsSummaryPanel calls compute(values) to fill a row of the stats table. The function ignores NaN / Inf samples and copes with empty inputs (returns count=0 + all-NaN result).

Goodness-of-fit metrics live in the existing fitmetrics.h and are surfaced separately by the panel when a baseline run is set.