|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ed.ph.signal.Window
public abstract class Window
Abstarct class to perform Window function for one-dimensional signal processing.
| Constructor Summary | |
|---|---|
Window()
|
|
| Method Summary | |
|---|---|
abstract double |
getWeight(double t)
Method to return the window weight for double parameter, but be in the range 0 -> 1.0. |
double |
getWeight(int i)
Method to return the window weight for integer parameter, but be in the range 0 -> length-1 |
void |
setLength(int l)
Method to set the window length |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Window()
| Method Detail |
|---|
public void setLength(int l)
l - the window lengthpublic double getWeight(int i)
i - the element index
double the window weightpublic abstract double getWeight(double t)
t - the normalsied time
double the window weight
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||