choosfilt: INteractive CHoice of Filter

choosfiltR Documentation

INteractive CHoice of Filter

Description

Choose Butterworth filter from a selection

Usage

choosfilt(thefilts = thefilts, ncol = 5)

Arguments

thefilts

list of filter parameters

ncol

number of columns

Details

Used for interactive choices in swig. See example below.

Value

filter parameter list:

ON

logical, TRUE=filter is on

fl

low frequency cut-off

fh

high frequency cut-off

type

type of filter, one of c("LP", "HP","BP" ,"BR" )

proto

prototype, c("BU", "BE" , "C1" ,"C2")

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

See Also

butfilt, RPMG

Examples


 thefilts <-
          list(flo=
               c(0.02, 0.02, 0.02, 0.02, 0.02,   0.02,
                 0.02, 0.02, 0.02,  0.02, 0.02,  0.02,
                 0.02,
                 1/2, 1/50,1/100, 1/100,1,1,
                 0.2, 15, 5, 2,1,
                 100),
               fhi=
               c(1/10, 1/6, 1/5, 1/4, 1/3, 1/2,
                 0.2,  0.5, 1.0,  2.0, 3.0,  4.0,
                 7.0,
                 8, 1/2.0,1/5.0,1/10.0,10,5,
                 7.0, 100, 100, 100,10,
                 100),
             type =
               c("LP","LP", "LP", "LP", "LP", "LP",
                 "LP","LP", "LP", "LP", "LP", "LP",
                 "LP",
                 "BP", "BP","BP","BP","BP","BP",
                 "HP", "HP","HP", "HP","HP",
                 "None"))

if(interactive() ) choosfilt(thefilts = thefilts, ncol = 5)



RSEIS documentation built on Aug. 19, 2023, 5:07 p.m.