choosfilt: INteractive CHoice of Filter

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Choose Butterworth filter from a selection

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 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. 2, 2021, 5:07 p.m.