|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaer.util.filter.Filter
public abstract class Filter
Base class for IIR filters.
Field Summary | |
---|---|
protected boolean |
initialized
This flag is false until the filter sets it true on the first value. |
protected int |
lastTime
The last timestamp used |
protected float |
tauMs
The filter time constant in ms |
int |
TICK_PER_MS
ticks per ms of input time |
Constructor Summary | |
---|---|
Filter()
|
Method Summary | |
---|---|
float |
get3dBFreqHz()
|
int |
getLastTime()
return last time filter was called. |
float |
getTauMs()
|
void |
set3dBFreqHz(float freq)
|
void |
setTauMs(float tauMs)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final int TICK_PER_MS
protected float tauMs
protected int lastTime
protected boolean initialized
Constructor Detail |
---|
public Filter()
Method Detail |
---|
public float getTauMs()
public void setTauMs(float tauMs)
tauMs
- the time constant in mspublic void set3dBFreqHz(float freq)
freq
- the 3dB corner frequency in Hzpublic float get3dBFreqHz()
public int getLastTime()
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |