Learn R Programming

RSEIS (version 2.1-0)

butfilt: Butterworth filter

Description

design and apply butterworth low/high/band pass filters.

Usage

butfilt(a, fl, fh, deltat, type, proto)

Arguments

a
vector signal
fl
low frequency cut-off
fh
high frequency cut-off
deltat
sample rate, s
type
type of filter, one of c("LP", "HP","BP" ,"BR" )
proto
prototype, c("BU", "BE" , "C1" ,"C2")

Value

  • filtered time series

Details

creation of butfilt is a described by the following arguments: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Examples

Run this code
data(CE1)

ts1 = CE1$y
zz = butfilt(ts1, 1, 15,  CE1$dt, "LP" ,  "BU")

Run the code above in your browser using DataLab