Make Filter Stamp

Share:

Description

Create an text stamp describing a filter

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.