com.rapidminer.tools.math
Class SpectrumFilter

java.lang.Object
  extended by com.rapidminer.tools.math.SpectrumFilter

public class SpectrumFilter
extends java.lang.Object

Creates a series of peaks (a spectrum) from the series of complex values calculated for example by a fourier transform. Since the FT input values must not be equivalent the magnitudes of the spectrum do not correspond to the real amplitudes. Like the human ear this filter tries to calculate more accurate values (see ERB or Bark filters).

Author:
Ingo Mierswa

Field Summary
static int ERB
           
static int LOG
           
static int LOG2
           
static int NONE
           
 
Constructor Summary
SpectrumFilter(int weightType)
           
 
Method Summary
 Peak[] filter(Complex[] spectrum, int totalSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
See Also:
Constant Field Values

ERB

public static final int ERB
See Also:
Constant Field Values

LOG

public static final int LOG
See Also:
Constant Field Values

LOG2

public static final int LOG2
See Also:
Constant Field Values
Constructor Detail

SpectrumFilter

public SpectrumFilter(int weightType)
Method Detail

filter

public Peak[] filter(Complex[] spectrum,
                     int totalSize)


Copyright © 2001-2009 by Rapid-I