Class AbstractFFT<T extends DataContainer>

    • Field Detail

      • m_PaddingType

        protected PaddingType m_PaddingType
        the type of padding to use.
      • m_InverseTransform

        protected boolean m_InverseTransform
        whether to perform inverse transformation (wavelet -> normal space).
      • m_Real

        protected boolean m_Real
        whether to return complex or real part of the transformation.
    • Constructor Detail

      • AbstractFFT

        public AbstractFFT()
    • 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
      • setPaddingType

        public void setPaddingType​(PaddingType value)
        Sets the padding type.
        Parameters:
        value - the padding type
      • getPaddingType

        public PaddingType getPaddingType()
        Returns the padding type.
        Returns:
        the padding type
      • paddingTypeTipText

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

        public void setInverseTransform​(boolean value)
        Sets whether to perform the inverse transform.
        Parameters:
        value - true if to perform the inverse transform
      • getInverseTransform

        public boolean getInverseTransform()
        Returns whether to perform the inverse transform.
        Returns:
        true if the inverse transform is performed
      • inverseTransformTipText

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

        public void setReal​(boolean value)
        Sets whether to return the real or complex part of the result.
        Parameters:
        value - true if real part
      • getReal

        public boolean getReal()
        Returns whether to return the real or complex part of the result.
        Returns:
        true if real part
      • realTipText

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

        protected abstract double getValue​(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​(List<DataPoint> points,
                                                  int index,
                                                  double y)
        Creates a new DataPoint based on the index and the new Y value. Used for padded points.
        Parameters:
        points - the original points
        index - the index of the padded point in the output data
        y - the new Y value
        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