net.sf.jaer.eventprocessing.filter
Class HarmonicFilter.HarmonicOscillator
java.lang.Object
net.sf.jaer.eventprocessing.filter.HarmonicFilter.HarmonicOscillator
- Enclosing class:
- HarmonicFilter
public class HarmonicFilter.HarmonicOscillator
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HarmonicFilter.HarmonicOscillator
public HarmonicFilter.HarmonicOscillator()
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()