Skip to contents

Useful for extracting a set of representative samples for each run, assuming the last part of each run is the most representative. Can specify a maximum share of samples that the function preserves. Runs with fewer samples are removed entirely.

Usage

preserve_last_n(.input, .n, .max_share = 0.5)

Arguments

.input

Measurement results to filter.

.n

How many samples taken from end to preserve.

.max_share

Maximum share of samples to preserve.

Value

Filtered measurement results.