jAER project on SourceForge

net.sf.jaer.eventprocessing.filter
Class HarmonicFilter.HarmonicOscillator

java.lang.Object
  extended by net.sf.jaer.eventprocessing.filter.HarmonicFilter.HarmonicOscillator
Enclosing class:
HarmonicFilter

public class HarmonicFilter.HarmonicOscillator
extends java.lang.Object


Constructor Summary
HarmonicFilter.HarmonicOscillator()
           
 
Method Summary
 float getAmplitude()
           
 float getFreq()
           
 float getPosition()
           
 float getQuality()
           
 int getT()
           
 float getVelocity()
           
 void reset()
           
 void update(int ts, byte type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HarmonicFilter.HarmonicOscillator

public HarmonicFilter.HarmonicOscillator()
Method Detail

update

public void update(int ts,
                   byte type)

reset

public void reset()

getPosition

public float getPosition()
Returns:
the current 'position' value of the oscillator

getVelocity

public float getVelocity()
Returns:
the current 'velocity' value of the osciallator

getFreq

public float getFreq()

getQuality

public float getQuality()

getAmplitude

public float getAmplitude()
Returns:
the last amplitude of the oscillator, i.e., the last magnitude of the last peak of activity

getT

public int getT()

jAER project on SourceForge