# GaussWin

Advanced Analysis Library Only

AnalysisLibErrType GaussWin (double arrayX[], int numberOfElements, double standardDeviation);

## Purpose

Applies a Gaussian window to a real signal. A Gaussian window is defined as follows:

where n is the number of elements in arrayX.

## Parameters

Input
Name | Type | Description
numberOfElements | integer | The number of elements in arrayX.
standardDeviation | double-precision | The standard deviation of the Gaussian window. The default value is 0.2. If standardDeviation <= 0, the default value is used.
Output
Name | Type | Description
arrayX | double-precision array | On input, the input signal. On output, the output signal with a Gaussian window applied.

## 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.