## load example data set
data(rockfall)
## calculate snr with detrend option off and on
snr <- signal_snr(data = rockfall_eseis)
print(snr$snr)
snr <- signal_snr(data = rockfall_eseis,
detrend = TRUE)
print(snr$snr)
Run the code above in your browser using DataLab