Namespaces

Types in MathNet.Filtering.Butterworth

Type Designer

Namespace MathNet.Filtering.Butterworth

Computes the minimum order and the cutoff frequencies, starting from the design parameters of a Butterworth filter.

Static Functions

Public Static Functions

ValueTuple<Byte, double, double> BandPass(double lowStopbandFreq, double lowPassbandFreq, double highPassbandFreq, double highStopbandFreq, double passbandRipple, double stopbandAttenuation)

Designs a band-pass Butterworth filter according to the specification.
Parameters
double lowStopbandFreq

Lower stopband corner frequency, normalized to Nyquist frequency.

double lowPassbandFreq

Lower passband corner frequency, normalized to Nyquist frequency.

double highPassbandFreq

Higher passband corner frequency, normalized to Nyquist frequency.

double highStopbandFreq

Higher stopband corner frequency, normalized to Nyquist frequency.

double passbandRipple

Maximum allowed passband ripple.

double stopbandAttenuation

Minimum required stopband attenuation.

Return
ValueTuple<Byte, double, double>

Minimum required filter order and computed cutoff frequency.

ValueTuple<Byte, double, double> BandStop(double lowPassbandFreq, double lowStopbandFreq, double highStopbandFreq, double highPassbandFreq, double passbandRipple, double stopbandAttenuation)

Designs a band-stop Butterworth filter according to the specification.
Parameters
double lowPassbandFreq

Lower passband corner frequency, normalized to Nyquist frequency.

double lowStopbandFreq

Lower stopband corner frequency, normalized to Nyquist frequency.

double highStopbandFreq

Higher stopband corner frequency, normalized to Nyquist frequency.

double highPassbandFreq

Higher passband corner frequency, normalized to Nyquist frequency.

double passbandRipple

Maximum allowed passband ripple.

double stopbandAttenuation

Minimum required stopband attenuation.

Return
ValueTuple<Byte, double, double>

Minimum required filter order and computed cutoff frequency.

ValueTuple<Byte, double> HighPass(double stopbandFreq, double passbandFreq, double passbandRipple, double stopbandAttenuation)

Designs a high-pass Butterworth filter according to the specification.
Parameters
double stopbandFreq

Stopband corner frequency, normalized to Nyquist frequency.

double passbandFreq

Passband corner frequency, normalized to Nyquist frequency.

double passbandRipple

Maximum allowed passband ripple.

double stopbandAttenuation

Minimum required stopband attenuation.

Return
ValueTuple<Byte, double>

Minimum required filter order and computed cutoff frequency.

ValueTuple<Byte, double> LowPass(double passbandFreq, double stopbandFreq, double passbandRipple, double stopbandAttenuation)

Designs a low-pass Butterworth filter according to the specification.
Parameters
double passbandFreq

Passband corner frequency, normalized to Nyquist frequency.

double stopbandFreq

Stopband corner frequency, normalized to Nyquist frequency.

double passbandRipple

Maximum allowed passband ripple.

double stopbandAttenuation

Minimum required stopband attenuation.

Return
ValueTuple<Byte, double>

Minimum required filter order and computed cutoff frequency.

ValueTuple<Byte, double, double> Notch(double centralFreq, double Q, double passbandRipple, double stopbandAttenuation)

Designs a notch Butterworth filter according to the specification.
Parameters
double centralFreq

Filter central frequency, normalized to Nyquist frequency.

double Q

Quality factor.

double passbandRipple

Maximum allowed passband ripple.

double stopbandAttenuation

Minimum required stopband attenuation.

Return
ValueTuple<Byte, double, double>

Minimum required filter order and computed cutoff frequency.