WindowFunctions.Blackman Method

Definition

Namespace: Extreme.Mathematics.SignalProcessing
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Blackman(Int32, WindowSampling) Returns a standard Blackman window of the specified length and symmetry.
Blackman(Int32, WindowSampling, Double) Returns a Blackman window of the specified length and symmetry.

Blackman(Int32, WindowSampling)

Returns a standard Blackman window of the specified length and symmetry.
C#
public static WindowFunction Blackman(
	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

WindowFunction
A 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

ArgumentOutOfRangeExceptionlength is less than or equal to zero.

Blackman(Int32, WindowSampling, Double)

Returns a Blackman window of the specified length and symmetry.
C#
public static WindowFunction Blackman(
	int length,
	WindowSampling sampling,
	double alpha
)

Parameters

length  Int32
The length of the window.
sampling  WindowSampling
A WindowSampling value that indicates whether the filter is symmetrical or periodic.
alpha  Double
A parameter between 0 and 1.

Return Value

WindowFunction
A 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.

-or-

alpha is less than or equal to zero or greater than or equal to one.

See Also