Package org.yamcs.studio.data.formula
Class StatisticsUtil
java.lang.Object
org.yamcs.studio.data.formula.StatisticsUtil
Utility class to calculate statistical information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Statistics
Creates the statistics, excluding NaN values, but the values are actually calculated when requested.static Statistics
statisticsOf
(List<Statistics> data) Aggregates statistical information.static Statistics
statisticsOf
(CollectionNumber data) Calculates data statistics, excluding NaN values.
-
Constructor Details
-
StatisticsUtil
public StatisticsUtil()
-
-
Method Details
-
statisticsOf
Calculates data statistics, excluding NaN values.- Parameters:
data
- the data- Returns:
- the calculated statistics
-
statisticsOf
Aggregates statistical information.- Parameters:
data
- a list of statistical information- Returns:
- the aggregate of all
-
lazyStatisticsOf
Creates the statistics, excluding NaN values, but the values are actually calculated when requested.- Parameters:
data
- the data- Returns:
- the calculated statistics
-