GetSmoothingData [Single]


Function

Obtains the data that has been smoothed (window function processing).

 

Format

Ret = dncFFT1.GetSmoothingData(InData , OutData )

 

Parameters

InData [ C#: float[] ] [ VB.NET: Single() ]
Specifies the array that stores the data to be processed.

 

OutData [ C#: out float[] ] [ VB.NET: Single() ]  
Specifies the array that stores the smoothed data.

 

Return value

Ret [ C#: int ] [ VB.NET: Integer ]

Value

Description

0

Normality completion

510001

The input parameter is invalid. Check the parameter contents.

Other errors (See also: Error code details)

 

Remarks

Obtains the data that has been smoothed (window function processing).

 

Example

Calculates the power spectrum of triangular wave data with amplitude -10.0 to +10.0.

C#

int    Ret;

float[]  InData = new float[4];
float[]  OutData = new float[4];

InData[0] = 0.0;
InData[1] = 10.0;
InData[2] = -10.0;

InData[3] = 0.0;


ret = dncFFT1.GetSmoothingData(InData, out OutData);

 

VB.NET

Dim Ret As Integer
Dim InData(3) As Single
Dim OutData(3) As Single


InData(0) = 0.0;
InData(1) = 10.0;
InData(2) = -10.0;

InData(3) = 0.0;

Ret = dncFFT1.GetSmoothingData(InData, OutDatta)