Lowpass: Calculate weights for lowpass filter

View source: R/Lowpass.R

LowpassR Documentation

Calculate weights for lowpass filter

Description

Derive the (smoothed) least square lowpass, given the cutoff frequency omega.c and the length of the filter n

based on Bloomfield 1976

Usage

Lowpass(omega.c, n = 9, sample = 1, convergence = TRUE)

Arguments

omega.c

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.