Window Functions.Tukey Method
Definition
Namespace: Extreme.Mathematics.SignalProcessing
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Tukey( | Returns a Tukey window with the specified length. |
Tukey( | Returns a Tukey window with the specified length and symmetry. |
Tukey(Int32, Double)
Returns a Tukey window with the specified length.
public static WindowFunction Tukey(
int length,
double ratio
)
Parameters
- length Int32
- The length of the window.
- ratio Double
- The ratio of the tapered section to the constant section.
Return Value
WindowFunctionA WindowFunction that represents a Blackman window with a length of length, normalized so the largest value is 1.
Remarks
If the window length is even,
the maximum value of 1 may not appear.
Exceptions
ArgumentOutOfRangeException | length is less than or equal to zero. -or- ratio is less than or equal to zero. |
Tukey(Int32, WindowSampling, Double)
Returns a Tukey window with the specified length and symmetry.
public static WindowFunction Tukey(
int length,
WindowSampling sampling,
double ratio
)
Parameters
- length Int32
- The length of the window.
- sampling WindowSampling
- A WindowSampling value that indicates whether the filter is symmetrical or periodic.
- ratio Double
- The ratio of the tapered section to the constant section.
Return Value
WindowFunctionA WindowFunction that represents a Blackman window with a length of length, normalized so the largest value is 1.
Remarks
If the window is symmetrical and the length is even,
the maximum value of 1 may not appear.
Exceptions
ArgumentOutOfRangeException | length is less than or equal to zero. |