procedure SignalWindow(const Vec: TVec; WindowType: TSignalWindowType; WindowParam: Double; WindowMode: TSignalWindowMode; ScaleNorm: Boolean);
Apply a time window function to the signal.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TVec | |
| 2 | WindowType | TSignalWindowType | |
| 3 | WindowParam | Double | scalar |
| 4 | WindowMode | TSignalWindowMode | |
| 5 | ScaleNorm | Boolean |
Result: stored in self (calling object)
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.
Indexed: procedure SignalWindow(const Vec: TVec; WindowType: TSignalWindowType; WindowParam: Double; WindowMode: TSignalWindowMode; ScaleNorm: Boolean; Index: Integer; Len: Integer);
AApply a time window function to the signal.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TVec | |
| 2 | WindowType | TSignalWindowType | |
| 3 | WindowParam | Double | scalar |
| 4 | WindowMode | TSignalWindowMode | |
| 5 | ScaleNorm | Boolean | |
| 6 | Index | Integer | start index |
| 7 | Len | Integer | element count |
Result: stored in self (calling object)
Remarks:
Applies user window to Vec vector from element at Index to element at Index + Len - 1.