SignalUtils::SignalWindow Function

Overload List

#SignatureDescription
1void SignalWindow(TVec *Vec, TSignalWindowType WindowType, double WindowParam, TSignalWindowMode WindowMode, bool ScaleNorm = false);Apply a time window function to the signal.
2void SignalWindow(TVec *Vec, TSignalWindowType WindowType, double WindowParam, TSignalWindowMode WindowMode, bool ScaleNorm, int Index, int Len);AApply a time window function to the signal.

Overload 1: void SignalWindow(TVec *Vec, TSignalWindowType WindowType, double WindowParam, TSignalWindowMode WindowMode, bool ScaleNorm = false);

Apply a time window function to the signal.

#NameTypeDescription
1VecTVec *
2WindowTypeTSignalWindowType
3WindowParamdouble
4WindowModeTSignalWindowMode
5ScaleNorm = falsebool
Remarks:

Apply a window to data in Vec. WindowParam should contain the parameter, required by the window. If the window does not have a parameter, windowParam can have any value. Set ScaleNorm to true, to request scaling of Vec such, that the energy of the stationary signal will be preserved after windowing.

See Also: SignalUtils::Hanning, SignalUtils::FirImpulse, SignalUtils::SignalWindow
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 2: void SignalWindow(TVec *Vec, TSignalWindowType WindowType, double WindowParam, TSignalWindowMode WindowMode, bool ScaleNorm, int Index, int Len);

AApply a time window function to the signal.

#NameTypeDescription
1VecTVec *
2WindowTypeTSignalWindowType
3WindowParamdouble
4WindowModeTSignalWindowMode
5ScaleNormbool
6Indexint
7Lenint
Remarks:

Applies user window to Vec vector from element at Index to element at Index + Len - 1.

Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler