Namespaces

Types in MathNet.Filtering.Butterworth

Type IirCoefficients

Namespace MathNet.Filtering.Butterworth

Static Functions

Public Static Functions

ValueTuple<Double[], Double[]> BandPass(double lowStopbandFreq, double lowPassbandFreq, double highPassbandFreq, double highStopbandFreq, double passbandRipple, double stopbandAttenuation)

Computes the IIR coefficients for a band-pass Butterworth filter.
Parameters
double lowStopbandFreq

Lower stopband corner frequency (in Hz).

double lowPassbandFreq

Lower passband corner frequency (in Hz).

double highPassbandFreq

Higher passband corner frequency (in Hz).

double highStopbandFreq

Higher stopband corner frequency (in Hz).

double passbandRipple

Maximum allowed passband ripple.

double stopbandAttenuation

Minimum required stopband attenuation.

Return
ValueTuple<Double[], Double[]>

IIR coefficients.

ValueTuple<Double[], Double[]> BandStop(double lowPassbandFreq, double lowStopbandFreq, double highStopbandFreq, double highPassbandFreq, double passbandRipple, double stopbandAttenuation)

Computes the IIR coefficients for a band-stop Butterworth filter.
Parameters
double lowPassbandFreq

Lower passband corner frequency (in Hz).

double lowStopbandFreq

Lower stopband corner frequency (in Hz).

double highStopbandFreq

Higher stopband corner frequency (in Hz).

double highPassbandFreq

Higher passband corner frequency (in Hz).

double passbandRipple

Maximum allowed passband ripple.

double stopbandAttenuation

Minimum required stopband attenuation.

Return
ValueTuple<Double[], Double[]>

IIR coefficients.

ValueTuple<Double[], Double[]> HighPass(double stopbandFreq, double passbandFreq, double passbandRipple, double stopbandAttenuation)

Computes the IIR coefficients for a high-pass Butterworth filter.
Parameters
double stopbandFreq

Stopband corner frequency (in Hz).

double passbandFreq

Passband corner frequency (in Hz).

double passbandRipple

Maximum allowed passband ripple.

double stopbandAttenuation

Minimum required stopband attenuation.

Return
ValueTuple<Double[], Double[]>

IIR coefficients.

ValueTuple<Double[], Double[]> LowPass(double passbandFreq, double stopbandFreq, double passbandRipple, double stopbandAttenuation)

Computes the IIR coefficients for a low-pass Butterworth filter.
Parameters
double passbandFreq

Passband corner frequency (in Hz).

double stopbandFreq

Stopband corner frequency (in Hz).

double passbandRipple

Maximum allowed passband ripple.

double stopbandAttenuation

Minimum required stopband attenuation.

Return
ValueTuple<Double[], Double[]>

IIR coefficients.

ValueTuple<Double[], Double[]> Notch(double centralFreq, double Q, double passbandRipple, double stopbandAttenuation)

Computes the IIR coefficients for a notch Butterworth filter.
Parameters
double centralFreq

Filter central frequency.

double Q

Quality factor.

double passbandRipple

Maximum allowed passband ripple.

double stopbandAttenuation

Minimum required stopband attenuation.

Return
ValueTuple<Double[], Double[]>

IIR coefficients.