|
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
net.sf.jaer.util.filter.HighpassFilter
public class HighpassFilter
A first-order highpass IIR filter.
Field Summary |
---|
Fields inherited from class net.sf.jaer.util.filter.Filter |
---|
initialized, lastTime, tauMs, TICK_PER_MS |
Constructor Summary | |
---|---|
HighpassFilter()
|
Method Summary | |
---|---|
float |
filter(float val,
int time)
apply the filter. |
float |
getTauMs()
|
float |
getValue()
|
void |
setInternalValue(float value)
Sets the internal value for initializing the filter |
void |
setTauMs(float tauMs)
|
java.lang.String |
toString()
|
Methods inherited from class net.sf.jaer.util.filter.Filter |
---|
get3dBFreqHz, getLastTime, set3dBFreqHz |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HighpassFilter()
Method Detail |
---|
public float filter(float val, int time)
Filter
val
- the new input valuetime
- the new input time - in ticks (us)
public java.lang.String toString()
toString
in class java.lang.Object
public void setInternalValue(float value)
Filter
value
- the valuepublic float getValue()
public void setTauMs(float tauMs)
setTauMs
in class Filter
tauMs
- the time constant in mspublic float getTauMs()
getTauMs
in class Filter
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |