Measurement Summary
data class MeasurementSummary(val id: Int, val name: String, val startTime: Long, val stopTime: Long, val startEventIndex: Int, val eventCount: Int, val runs: List<RunSummary>, val statistics: List<QuantityStatistics> = listOf(), val errorCount: Long = runs.sumOf(RunSummary::errorCount))
Measurement represents a single test case that can be run multiple times for further statistical analysis. The runs are expected to behave in a more or less identical way. Statistical methods can be used for determining reasonable range of values for power, duration etc.
Each measurement consists of
id & name
start and stop timestamps
start idx for events + event count
summary of runs
summary of read errors
Properties
Functions
Link copied to clipboard
fun MeasurementSummary.calculateGenericStatistics(plans: List<GenericStatisticsPlan> = GenericStatisticsPlan.generic(), summarizeRun0: Boolean, includedRuns: List<RunSummary> = includedRuns(summarizeRun0)): List<QuantityStatistics>
Generic stats for a measurement. These are calculated quickly from the data already in memory without the need to go through the events.
Link copied to clipboard