|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gtts.sautrela.engine.AbstractDataProcessor
edu.gtts.sautrela.sp.LiveFeaturelNormalization
public class LiveFeaturelNormalization
Real Time Feature Normalization. It is based on an exponential high-pass firter:
H(z) = (1-α) · (1-z-1) / (1-(1-α)·z-1)Equivalently:
yt = xt - μtFor a time constant of τ (the value for wich the output is cut in half) and sampling freq F, α = log(2) / (τ·F).
μt = (1-α) · μt-1 + α · xt
| Field Summary | |
|---|---|
static int |
DEFAULT_TIMEFREQCONSTANT
default value for τ·F = 500 (F = 100Hz and τ = 5sg) |
| Fields inherited from interface java.beans.BeanInfo |
|---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Constructor Summary | |
|---|---|
LiveFeaturelNormalization()
Creates a new LiveCepstralNormalization |
|
| Method Summary | |
|---|---|
void |
editBeanInfo(java.beans.BeanInfo info)
|
int |
getTimeFreqConstant()
Getter for property timeFreqConstant. |
static void |
main(java.lang.String[] args)
|
void |
process(Buffer in,
Buffer out)
Processes the input Data. |
void |
setTimeFreqConstant(int timeFreqConstant)
Setter for property timeFreqConstant. |
| Methods inherited from class edu.gtts.sautrela.engine.AbstractDataProcessor |
|---|
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_TIMEFREQCONSTANT
| Constructor Detail |
|---|
public LiveFeaturelNormalization()
| Method Detail |
|---|
public int getTimeFreqConstant()
public void setTimeFreqConstant(int timeFreqConstant)
timeFreqConstant - The number of samples for which the output is cut
in half (τ·F).
public void process(Buffer in,
Buffer out)
throws DataProcessorException
in - Input Bufferout - Output Buffer
DataProcessorExceptionpublic void editBeanInfo(java.beans.BeanInfo info)
editBeanInfo in class AbstractDataProcessor
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||