## load example data set
data(rockfall)
## deconvolve signal with minimum effort
rockfall_decon <- signal_deconvolve(data = rockfall_eseis)
## plot time series
plot_signal(data = rockfall_decon,
main = "Rockfall, deconvolved signal",
ylab = "m/s")
## add new logger manually
logger_new <- list_logger()[[1]]
## add logger data
logger_new$ID <- "logger_new"
logger_new$name <- "logger_new"
logger_new$AD <- 2.4414e-07
## deconvolve signal with new logger
rockfall_decon <- signal_deconvolve(data = rockfall_eseis,
sensor = "TC120s",
logger = logger_new)
## Change the setup of a logger, here: Centaur AD is changed due to
## other than default Vpp value, according to AD = V / (2^24).
## extract default Centaur logger
Centaur_10V <- list_logger()[[2]]
## replace AD value
Centaur_10V$AD <- 20/(2^24)
if (FALSE) {
## working with station XML files:
## download and import example data set
s <- read_fdsn(start = "2023-06-10",
duration = 600,
station = "DAVA",
network = "OE",
component = "BHZ")
## download and save station XML file
xml <- aux_getxml(xml = "OE.DAVA.XML",
start = "2023-06-10",
duration = 600,
network = "OE",
station = "DAVA",
component = "BHZ",
url = "http://service.iris.edu")
## deconvolve data set with downloaded XML file
s_d <- signal_deconvolve(data = s,
xml = "OE.DAVA.XML")
## alternatively, deconvolve data set by online XML file (no saving)
s_d <- signal_deconvolve(data = s,
xml = TRUE,
url = "http://service.iris.edu")
}
Run the code above in your browser using DataLab