if (FALSE) {
cc <- ncc_preprocess(start = "2017-04-09 00:30:00",
stop = "2017-04-09 01:30:00",
ID = c("RUEG1", "RUEG2"),
component = c("Z", "Z"),
dir = paste0(system.file("extdata",
package = "eseis"), "/"),
window = 600,
overlap = 0,
lag = 20,
deconvolve = TRUE,
sensor = "TC120s",
logger = "Cube3extBOB",
gain = 1,
f = c(0.05, 0.1),
sd = 1)
## estimate dv/v
dv <- ncc_stretch(data = cc, range = 0.05)
## plot result
plot(dv$time, dv$dvv, type = "l")
}
Run the code above in your browser using DataLab