NameWinProperties
Advanced Analysis Library Only
AnalysisLibErrType NameWinProperties (ssize_t windowSize, int windowType, double windowParameter, WindowConst *windowConstants);
Purpose
Computes the coherent gain and equivalent noise bandwidth of a window by window type. The coherent gain and equivalent noise bandwidth of a given window are defined as follows:
where wi are the window coefficients and n is the number of coefficients.
Parameters
Input | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
windowSize | ssize_t | The window size. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
windowType | int | The type of window to calculate. windowType must be one of the following values:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
windowParameter | double | The window parameter. This parameter is referenced only if windowType is one of the following values:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Output | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
windowConstants | WindowConst | The equivalent noise bandwidth (ENBW) and coherent gain of the window defined by windowType. |
Return Value
Name | Type | Description |
status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |
Additional Information
Library: Advanced Analysis Library
Include file: analysis.h
LabWindows/CVI compatibility: LabWindows/CVI 2012 and later