Class DownSample<T extends DataContainer>

    • Field Detail

      • m_NthPoint

        protected int m_NthPoint
        the n-th point to use.
    • Constructor Detail

      • DownSample

        public DownSample()
    • Method Detail

      • setNthPoint

        public void setNthPoint​(int value)
        Sets the nth point setting.
        Parameters:
        value - the nth point to use
      • getNthPoint

        public int getNthPoint()
        Returns the nth point setting.
        Returns:
        the nth point
      • nthPointTipText

        public String nthPointTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • copy

        protected DataPoint copy​(int index,
                                 List<DataPoint> points)
        Creates a copy of the data point.
        Parameters:
        index - the index in the data point list to copy
        points - the list of data points
        Returns:
        the copy of the specified data point
      • processData

        protected T processData​(T data)
        Performs the actual filtering.
        Specified by:
        processData in class AbstractFilter<T extends DataContainer>
        Parameters:
        data - the data to filter
        Returns:
        the filtered data