lanczos_bp: Create a band-pass Lanczos filter

Description Usage Arguments Value Examples

View source: R/lanczos.R

Description

Compute coefficients of a band-pass Lanczos filter

Usage

1
lanczos_bp(n, low, high)

Arguments

n

length of filter; must be odd

low

transition frequency of the filter (Nyquist = 0.5)

high

transition frequency of the filter (Nyquist = 0.5)

Value

non-negative time filter coefficients (filter is symmetric about 0). Frequencies outside of band (low, high) are attenuated.

Examples

1
2
f <- lanczos_bp( 7, 0.1, 0.4 )
print( f )

jrevenaugh/TSAUMN documentation built on Nov. 8, 2019, 2:20 p.m.