filterstamp: Make Filter Stamp

View source: R/filterstamp.R

filterstampR Documentation

Make Filter Stamp

Description

Create an text stamp describing a filter

Usage

filterstamp(fl=1/2, fh=10, type="BP")

Arguments

fl

vector, low frequency

fh

vector,high frequency

type

vector,type of filter

Details

If the frequency is less than 1, the period is displayed. For now only 3 digits are displayed. If the first argument, fl, is a list the parameters are extracted from the list and the other arguments are ignored.

Value

stamps

text strings

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

FILT.spread

Examples


fl <- c(0.01, 2)
fh <- c(10, 20)
type <- "BP"
filterstamp(fl, fh, type)

FILT<-list(ON=TRUE, fl=1/2, fh=12, type="HP", proto="BU")
filterstamp(FILT)

FILT<-list(ON=TRUE, fl=1/2, fh=12, type="BP", proto="BU")
filterstamp(FILT)

FILT<-list(ON=TRUE, fl=1/2, fh=12, type="LP", proto="BU")
filterstamp(FILT)




RSEIS documentation built on Sept. 13, 2024, 1:09 a.m.