|
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.Windowing
public class Windowing
Does a windowing of the input data
| Nested Class Summary | |
|---|---|
static class |
Windowing.Function
Window-function types |
| Field Summary | |
|---|---|
static boolean |
DEFAULT_CUTDC
default cutDC value == false |
static Windowing.Function |
DEFAULT_FUNCTION
default window function == Hamming |
static int |
DEFAULT_SHIFT
default window shift == 160 |
static int |
DEFAULT_SIZE
default window size == 400 |
| Fields inherited from interface java.beans.BeanInfo |
|---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Constructor Summary | |
|---|---|
Windowing()
Creates a new Windowing |
|
| Method Summary | |
|---|---|
void |
editBeanInfo(java.beans.BeanInfo info)
|
Windowing.Function |
getFunction()
Gets the function of the window |
int |
getShift()
Gets the shift of the window |
int |
getSize()
Gets the size of the window |
boolean |
isCutDC()
Getter for property cutDC. |
static void |
main(java.lang.String[] args)
|
void |
process(Buffer in,
Buffer out)
Processes the input Data. |
void |
setCutDC(boolean cutDC)
Setter for property cutDC. |
void |
setFunction(Windowing.Function function)
Sets the function of the window. |
void |
setShift(int shift)
Sets the shift of the window. |
void |
setSize(int size)
Sets the size of the window. |
| 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_SIZE
public static final int DEFAULT_SHIFT
public static final Windowing.Function DEFAULT_FUNCTION
public static final boolean DEFAULT_CUTDC
| Constructor Detail |
|---|
public Windowing()
| Method Detail |
|---|
public int getSize()
public void setSize(int size)
size - The size of the windowpublic int getShift()
public void setShift(int shift)
shift - The shift of the windowpublic Windowing.Function getFunction()
public void setFunction(Windowing.Function function)
function - The function of the windowpublic boolean isCutDC()
public void setCutDC(boolean cutDC)
cutDC - New value of property cutDC.
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 | |||||||||