signal_integrate: Integrate a seismic signal

Description Usage Arguments Value Author(s) Examples

View source: R/signal_integrate.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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.
                     

eseis documentation built on Dec. 18, 2019, 1:50 a.m.