Class Downsampler

  • All Implemented Interfaces:
    Consumer<ParameterValueArray>

    public class Downsampler
    extends Object
    implements Consumer<ParameterValueArray>
    One-pass downsampler for time-series data (i.e. numeric archived parameters), where the number of recorded data points are not known upfront.

    The output is not a bunch of parameter values, but instead a range of values limited to n, which should be fit for inclusion in plots.

    • Constructor Detail

      • Downsampler

        public Downsampler​(long start,
                           long stop)
      • Downsampler

        public Downsampler​(long start,
                           long stop,
                           int sampleCount)