|
Code Packages
1
Add-on code processing modules
|
Provides common window (tapering) functions More...
Public Types | |
| enum | Type { Type.Rectangular, Type.Blackman, Type.Hamming, Type.Hann, Type.Triangular, Type.FlatTop } |
| Window function enumeration types More... | |
Static Public Member Functions | |
| static double [] | Blackman (int samples, bool periodic) |
| Returns a Blackman window More... | |
| static double [] | FlatTop (int samples, bool periodic) |
| Returns a flat-top window More... | |
| static double [] | Hamming (int samples, bool periodic) |
| Returns a Hamming window More... | |
| static double [] | Hann (int samples, bool periodic) |
| Returns a Hann (raised cosine) window More... | |
| static double [] | Rectangular (int samples) |
| Returns a rectangular window More... | |
| static double [] | Triangular (int samples) |
| Returns a triangular window More... | |
Provides common window (tapering) functions
|
strong |
|
static |
Returns a Blackman window
For a symmetric window the number of samples should be an odd number.
| samples | window size |
| periodic | True for periodic, False for symmetric |
Example
|
static |
Returns a flat-top window
For a symmetric window the number of samples should be an odd number.
| samples | window size |
| periodic | True for periodic, False for symmetric |
Example
|
static |
Returns a Hamming window
For a symmetric window the number of samples should be an odd number.
| samples | window size |
| periodic | True for periodic, False for symmetric |
Example
|
static |
Returns a Hann (raised cosine) window
For a symmetric window the number of samples should be an odd number.
| samples | window size |
| periodic | True for periodic, False for symmetric |
Example
|
static |
Returns a rectangular window
| samples | window size |
|
static |
Returns a triangular window
| samples | window size |
Example