Learn R Programming

eseis (version 0.8.0)

signal_integrate: 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)

Value

Numeric vector or list of vectors, integrated signal.

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".

Author

Michael Dietze

Examples

Run this code

## 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.
                     

Run the code above in your browser using DataLab