Window Functions.Modified Bartlett Hann 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
Modified | Returns a symmetric modified Bartlett-Hanning window of the specified length. |
Modified | Returns a modified Bartlett-Hanning window of the specified length and symmetry. |
ModifiedBartlettHann(Int32)
Returns a symmetric modified Bartlett-Hanning window of the specified length.
public static WindowFunction ModifiedBartlettHann(
int length
)
Parameters
- length Int32
- The length of the window.
Return Value
WindowFunctionA WindowFunction that represents a modified Bartlett-Hanning 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. |
ModifiedBartlettHann(Int32, WindowSampling)
Returns a modified Bartlett-Hanning window of the specified length and symmetry.
public static WindowFunction ModifiedBartlettHann(
int length,
WindowSampling sampling
)
Parameters
- length Int32
- The length of the window.
- sampling WindowSampling
- A WindowSampling value that indicates whether the filter is symmetrical or periodic.
Return Value
WindowFunctionA WindowFunction that represents a modified Bartlett-Hanning 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. |