Class AbstractAutocorrelation<T extends DataContainer>

    • Constructor Detail

      • AbstractAutocorrelation

        public AbstractAutocorrelation()
    • Method Detail

      • setAlgorithm

        public void setAlgorithm​(AbstractAutoCorrelation value)
        Sets the algorithm to use.
        Parameters:
        value - the algorithm
      • getAlgorithm

        public AbstractAutoCorrelation getAlgorithm()
        Returns the algorithm to use.
        Returns:
        the algorithm
      • algorithmTipText

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

        protected abstract double getX​(DataPoint point)
        Returns the X value of the DataPoint.
        Parameters:
        point - the point to get the X value from
        Returns:
        the X value
      • getY

        protected abstract double getY​(DataPoint point)
        Returns the Y value of the DataPoint.
        Parameters:
        point - the point to get the Y value from
        Returns:
        the Y value
      • newDataPoint

        protected abstract DataPoint newDataPoint​(double x,
                                                  double y)
        Creates a new DataPoint from the X/Y data.
        Parameters:
        x - the X of the data point
        y - the Y of the data point
        Returns:
        the new DataPoint
      • checkData

        protected void checkData​(T data)
        Description copied from class: AbstractFilter
        The default implementation only checks whether there is any data set.
        Overrides:
        checkData in class AbstractFilter<T extends DataContainer>
        Parameters:
        data - the data to filter
      • 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