Class DFT

  • All Implemented Interfaces:
    IFilter

    public class DFT
    extends AFilter
    • Constructor Detail

      • DFT

        public DFT()
    • Method Detail

      • setNumberOfDisieredCoefficients

        public void setNumberOfDisieredCoefficients​(int numberOfDisieredCoefficients)
      • setMeanCorrected

        public void setMeanCorrected​(boolean meanCorrected)
      • transform

        public TimeSeriesDataset transform​(TimeSeriesDataset input)
        Description copied from interface: IFilter
        represents a function working on a dataset by transforming the dataset itself.
        Parameters:
        input - the data set that is to transform
        Returns:
        the transformt dataset
      • fit

        public void fit​(TimeSeriesDataset input)
        Description copied from interface: IFilter
        the function computes the needed information for the transform function.
        Parameters:
        input - the dataset that is to transform
      • transform

        public double[] transform​(double[] input)
        Description copied from interface: IFilter
        This function transforms only a single instance.
        Parameters:
        input - the to transform instance
        Returns:
        the transformed instance
      • fit

        public void fit​(double[] input)
        Description copied from interface: IFilter
        The function only fits a single instance of the dataset
        Parameters:
        input - The to fit instance
      • fitTransform

        public double[] fitTransform​(double[] input)
        Description copied from interface: IFilter
        the function fit and transforms a single instance
        Parameters:
        input - the to fit and transform instance
        Returns:
        the transformed instance
      • transform

        public double[][] transform​(double[][] input)
      • fit

        public void fit​(double[][] input)
      • fitTransform

        public double[][] fitTransform​(double[][] input)
      • rekursivDFT

        public double[][] rekursivDFT​(double[][] input)