FilterSpecs: Filter specifications

View source: R/FilterSpecs.R

FilterSpecsR Documentation

Filter specifications

Description

Filter specifications, including order, frequency cutoff, type, and possibly others.

Usage

FilterSpecs(n, Wc, type, ...)

Arguments

n

filter order.

Wc

cutoff frequency.

type

filter type, normally one of "low", "high", "stop", or "pass".

...

other filter description characteristics, possibly including Rp for dB of pass band ripple or Rs for dB of stop band ripple, depending on filter type (Butterworth, Chebyshev, etc.).

Value

A list of class 'FilterSpecs' with the following list elements (repeats of the input arguments):

n

filter order

Wc

cutoff frequency

type

filter type, normally one of "low", "high", "stop", or "pass".

...

other filter description characteristics, possibly including Rp for dB of pass band ripple or Rs for dB of stop band ripple, depending on filter type (Butterworth, Chebyshev, etc.).

Author(s)

Tom Short, tshort@eprisolutions.com,
renamed and adapted by Geert van Boxtel, gjmvanboxtel@gmail.com

See Also

filter, butter and buttord, cheby1 and cheb1ord, ellip and ellipord.

Examples

filt <- FilterSpecs(3, 0.1, "low")


gjmvanboxtel/gsignal documentation built on Nov. 22, 2023, 8:19 p.m.