taper {Rsac} | R Documentation |
Applies a symmetric taper to each side of the SAC records.
taper(x, type = c("hanning", "hamming", "cosine"), width = 0.05)
x |
an object of class "rsac" . |
type |
Valid values are: ‘hanning’, ‘hamming’, and ‘cosine’. |
width |
the width of the taper. Values larger than 0.5 should probably never be used. |
same as input.
Eric M. Thompson <eric.thompson@tufts.edu>
x <- rsac.skeleton(1) x[[1]]$amp <- runif(1e3, min = -1) x[[1]]$dt <- 1 plot(x) x.t <- taper(x) lines(x.t, col = "blue")