Class AbstractLOWESS<T extends DataContainer>

    • Field Detail

      • m_WindowSize

        protected int m_WindowSize
        Size of window size for calculating lowess.
    • Constructor Detail

      • AbstractLOWESS

        public AbstractLOWESS()
    • Method Detail

      • getTechnicalInformation

        public TechnicalInformation getTechnicalInformation()
        Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.
        Specified by:
        getTechnicalInformation in interface TechnicalInformationHandler
        Returns:
        the technical information about this class
      • setWindowSize

        public void setWindowSize​(int value)
        Sets the polynomial order.
        Parameters:
        value - the order
      • getWindowSize

        public int getWindowSize()
        Returns the polynominal order.
        Returns:
        the order
      • windowSizeTipText

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

        protected abstract Point2D convert​(DataPoint point)
        Returns the X/Y values of the DataPoint as Point2D.
        Parameters:
        point - the point to get the X/Y values from
        Returns:
        the X/Y values as Point2D
      • newDataPoint

        protected abstract DataPoint newDataPoint​(Point2D smoothed)
        Creates a new DataPoint from the smoothed one.
        Parameters:
        smoothed - the smoothed data point
        Returns:
        the new DataPoint
      • 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