Class TimeseriesFastWavelet

  • All Implemented Interfaces:
    CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, ShallowCopySupporter<Filter>, SizeOfHandler, TechnicalInformationHandler, Filter<Timeseries>, Serializable, Comparable

    public class TimeseriesFastWavelet
    extends AbstractFastWavelet<Timeseries>
    A filter that transforms the data with a wavelet.

    For more information see:

    (2009). JSci - A science API for Java.

    BibTeX:
     @misc{missing_id,
        title = {JSci - A science API for Java},
        year = {2009},
        HTTP = {http://jsci.sourceforge.net/}
     }
     


    Valid options are:

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -wavelet <Haar|CDF2 4|Daubechies2|Symmlet8> (property: waveletType)
        The wavelet type to use for transforming the data.
        default: HAAR
     
    -padding <Zero> (property: paddingType)
        The padding type to use.
        default: ZERO
     
    -inverse (property: inverseTransform)
        If true, then the inverse transform is performed (wavelet -> normal space
        ).
     
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • TimeseriesFastWavelet

        public TimeseriesFastWavelet()
    • Method Detail

      • getValue

        protected double getValue​(DataPoint point)
        Returns the X-value of the DataPoint.
        Specified by:
        getValue in class AbstractFastWavelet<Timeseries>
        Parameters:
        point - the point to get the X-Value from
        Returns:
        the X-value
      • newDataPoint

        protected DataPoint newDataPoint​(DataPoint oldPoint,
                                         double x)
        Creates a new DataPoint based on the old one and the new X value.
        Specified by:
        newDataPoint in class AbstractFastWavelet<Timeseries>
        Parameters:
        oldPoint - the old DataPoint
        x - the new X value
        Returns:
        the new DataPoint
      • newDataPoint

        protected DataPoint newDataPoint​(List<DataPoint> points,
                                         int index,
                                         double x)
        Creates a new DataPoint based on the index and the new X value. Used for padded points.
        Specified by:
        newDataPoint in class AbstractFastWavelet<Timeseries>
        Parameters:
        points - the original points
        index - the index of the padded point
        x - the new X value
        Returns:
        the new DataPoint