|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.math.WindowFunction
public class WindowFunction
Window functions apply a weight to each value of a value series depending on the length of the series. Window Functions like Hanning windows are usually applied before a Fourier transformation. TODO: remove class and transfer calls to com.rapidminer.tools.math.function.window.WindowFunction
| Field Summary | |
|---|---|
static int |
BARTLETT
The constant for the function Bartlett. |
static int |
BLACKMAN
The constant for the function Blackman. |
static int |
BLACKMAN_HARRIS
The constant for the function Blackman-Harris. |
static java.lang.String[] |
FUNCTIONS
The currently implemented window functions. |
static int |
HAMMING
The constant for the function Hamming. |
static int |
HANNING
The constant for the function Hanning. |
static int |
NONE
The constant for the function Hanning. |
static int |
RECTANGLE
The constant for the function Rectangle. |
| Constructor Summary | |
|---|---|
WindowFunction(int type,
int maxIndex)
|
|
| Method Summary | |
|---|---|
double |
getFactor(int n)
Returns the weighting factor for the current value n in a window of the given length. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] FUNCTIONS
public static final int NONE
public static final int HANNING
public static final int HAMMING
public static final int BLACKMAN
public static final int BLACKMAN_HARRIS
public static final int BARTLETT
public static final int RECTANGLE
| Constructor Detail |
|---|
public WindowFunction(int type,
int maxIndex)
| Method Detail |
|---|
public double getFactor(int n)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||