WindowFunctions.Chebyshev Method

Definition

Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0

Overload List

Chebyshev(Int32, Double) Returns a Chebyshev window with the specified length and sidelobe attenuation.
Chebyshev(Int32, WindowSampling, Double) Returns a Chebyshev window with the specified length, symmetry, sidelobe attenuation.
Chebyshev<T>(Int32, T) Returns a Chebyshev window with the specified length and sidelobe attenuation.
Chebyshev<T>(Int32, WindowSampling, T) Returns a Chebyshev window with the specified length, symmetry, sidelobe attenuation.

Chebyshev(Int32, Double)

Returns a Chebyshev window with the specified length and sidelobe attenuation.
C#
public static WindowFunction Chebyshev(
	int length,
	double sidelobeLevel
)

Parameters

length  Int32
The length of the window.
sidelobeLevel  Double
The height of the side-lobes relative to the main lobe, in units of 20dB.

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 length is even, the maximum value of 1 may not appear.

Exceptions

ArgumentOutOfRangeException

length is less than or equal to zero.

-or-

sidelobeLevel is less than or equal to zero.

Chebyshev<T>(Int32, T)

Returns a Chebyshev window with the specified length and sidelobe attenuation.
C#
public static WindowFunction<T> Chebyshev<T>(
	int length,
	T sidelobeLevel
)

Parameters

length  Int32
The length of the window.
sidelobeLevel  T
The height of the side-lobes relative to the main lobe, in units of 20dB.

Type Parameters

T

Return Value

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

sidelobeLevel is less than or equal to zero.

Chebyshev(Int32, WindowSampling, Double)

Returns a Chebyshev window with the specified length, symmetry, sidelobe attenuation.
C#
public static WindowFunction Chebyshev(
	int length,
	WindowSampling sampling,
	double sidelobeLevel
)

Parameters

length  Int32
The length of the window.
sampling  WindowSampling
A WindowSampling value that indicates whether the filter is symmetrical or periodic.
sidelobeLevel  Double
The height of the side-lobes relative to the main lobe, in dB.

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-

sidelobeLevel is less than or equal to zero.

Chebyshev<T>(Int32, WindowSampling, T)

Returns a Chebyshev window with the specified length, symmetry, sidelobe attenuation.
C#
public static WindowFunction<T> Chebyshev<T>(
	int length,
	WindowSampling sampling,
	T sidelobeLevel
)

Parameters

length  Int32
The length of the window.
sampling  WindowSampling
A WindowSampling value that indicates whether the filter is symmetrical or periodic.
sidelobeLevel  T
The height of the side-lobes relative to the main lobe, in dB.

Type Parameters

T

Return Value

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

sidelobeLevel is less than or equal to zero.

See Also