Bandpass: Calculate Weights for a Bandpass Filter

View source: R/Bandpass.R

BandpassR Documentation

Calculate Weights for a Bandpass Filter

Description

Derive the (smoothed) least square bandpass based on Bloomfield 1976

Usage

Bandpass(omega.upper, omega.lower, n, sample = 1, convergence = T)

Arguments

omega.upper

upper cutoff frequency

omega.lower

lower cutoff frequency

n

length of the filter, has to be odd

sample

sampling rate of the timeseries on which the filter will be applied (1/deltat)

convergence

TRUE: smoothed least square lowpass; FALSE = unsmoothed

Value

vector of filter weights

Author(s)

Thomas Laepple


EarthSystemDiagnostics/paleospec documentation built on Feb. 17, 2024, 4:36 p.m.