org.android.activityminer.logic.features.calculators
Class FFTCalculatorEvent

Package class diagram package FFTCalculatorEvent
java.lang.Object
  extended by org.android.activityminer.logic.features.calculators.FFTCalculatorEvent
All Implemented Interfaces:
ObservableEvent

public class FFTCalculatorEvent
extends Object
implements ObservableEvent

The observable event of the FFT Calculator


Field Summary
 int index
          The FFT component index
 double magnitude
          The FFT magnitude of the current FFT component.
 double spectralEnergy
          The FFT energy of the current FFT component.
 
Constructor Summary
FFTCalculatorEvent(int index, double magnitude, double spectralEnergy)
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

magnitude

public final double magnitude
The FFT magnitude of the current FFT component.


spectralEnergy

public final double spectralEnergy
The FFT energy of the current FFT component.


index

public final int index
The FFT component index

Constructor Detail

FFTCalculatorEvent

public FFTCalculatorEvent(int index,
                          double magnitude,
                          double spectralEnergy)
Constructor

Parameters:
index - the FFT component index
magnitude - the FFT magnitude of the current FFT component.
spectralEnergy - the FFT energy of the current FFT component.