Class AbstractSlidingWindow<T extends DataContainer>

    • Field Detail

      • m_WindowSize

        protected int m_WindowSize
        the window size.
    • Constructor Detail

      • AbstractSlidingWindow

        public AbstractSlidingWindow()
    • Method Detail

      • setWindowSize

        public void setWindowSize​(int value)
        Sets the window size for determining the 'smoothed' abundances.
        Parameters:
        value - the window size
      • getWindowSize

        public int getWindowSize()
        Returns the window size for determining the 'smoothed' abundances.
        Returns:
        the window size
      • windowSizeTipText

        public String windowSizeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • measureTipText

        public String measureTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • getValue

        protected abstract Double getValue​(DataPoint point)
        Returns the X-value of the data point.
        Parameters:
        point - the point to get the X-value from
        Returns:
        the X-value
      • updatePoint

        protected abstract void updatePoint​(DataPoint point,
                                            double value)
        Updates the X-value of the data point.
        Parameters:
        point - the point to update
        value - the value to update the point with
      • processData

        protected T processData​(T data)
        Performs the actual smoothing.
        Specified by:
        processData in class AbstractSmoother<T extends DataContainer>
        Parameters:
        data - the to smooth
        Returns:
        the smoothed data