FILT.spread {RSEIS} | R Documentation |
Show a time series and a spread of user defined filters to show signal at a variety of bandwidths.
FILT.spread(x, y, dt, fl = fl, fh = fh, sfact = 1, WIN = NULL, PLOT = TRUE, TIT = NULL, TAPER = 0.05, POSTTAPER=0.05)
x |
x-axis |
y |
y-amplitude |
dt |
delta-t, sec |
fl |
vector of low frequency cut offs |
fh |
vector of high frequency cut offs |
sfact |
scale factor, 0,1 |
WIN |
xlimits to constrain plotting |
PLOT |
logical, plotting |
TIT |
title |
TAPER |
taper data prior to filter, percent cosine, default=NULL |
POSTTAPER |
taper output after filter, percent cosine, default=0.05 |
Use the TAPER and POSTTAPER to reduce the edge effects prior to and after filtering.
list:
FMAT |
matrix of time series filtered |
Notes |
Notes for filter of each element of FMAT |
Jonathan M. Lees<jonathan.lees@unc.edu>
butfilt, PLOT.MATN
data(KH) dt = KH$dt[1] y = KH$JSTR[[1]] x = seq(from=0, by=dt, length=length(y)) fl=rep(1/100, 5) fh=1/c(1,2,5,10,20) FILT.spread(x, y, dt, fl = fl, fh = fh, sfact = 1, WIN = NULL, PLOT = TRUE, TIT = NULL, TAPER = 0.05)