signal_integrate: Integrate a seismic signal

View source: R/signal_integrate.R

signal_integrateR Documentation

Integrate a seismic signal

Description

The function integrates a signal vector to convert values from velocity to displacement. Two methods are available

Usage

signal_integrate(data, dt, method = "fft", waterlevel = 10^-6)

Arguments

data

eseis object, numeric vector or list of objects, data set to be processed.

dt

Numeric scalar, sampling rate.

method

Character scalar, method used for integration. One out of "fft" (convert in the frequency domain) and "trapezoid" (integrate using the trapezoidal rule). Default is "fft".

waterlevel

Numeric scalar, waterlevel value for frequency division, default is 10^-6. Only used when method = "fft".

Value

Numeric vector or list of vectors, integrated signal.

Author(s)

Michael Dietze

Examples


## load example data set
data(rockfall)

## deconvolve signal
rockfall_decon <- signal_deconvolve(data = rockfall_eseis)
                                    
## integrate signal
rockfall_int <- signal_integrate(data = rockfall_decon)
                                 
## Note that usually the signal should be filtered prior to integration.
                     

coffeemuggler/eseis documentation built on Aug. 19, 2023, 9:57 p.m.