public class WindowFunction extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BARTLETT |
static int |
BLACKMAN |
static int |
HAMMING |
static int |
HANNING |
static int |
RECTANGULAR |
Constructor and Description |
---|
WindowFunction() |
Modifier and Type | Method and Description |
---|---|
double[] |
generate(int nSamples)
Generate a window
|
int |
getWindowType() |
void |
setWindowType(int wt) |
void |
setWindowType(String w) |
public static final int RECTANGULAR
public static final int BARTLETT
public static final int HANNING
public static final int HAMMING
public static final int BLACKMAN
public void setWindowType(int wt)
public void setWindowType(String w)
public int getWindowType()
public double[] generate(int nSamples)
nSamples
- size of the windowCopyright © 2020. All rights reserved.