Learn R Programming

eseis (version 0.6.0)

signal_envelope: Calculate signal envelope.

Description

The function calculates envelopes of the input signals as cosine-tapered envelope of the Hilbert-transformed signal. The signal should be detrended and/or the mean should be removed before processing.

Usage

signal_envelope(data, p = 0)

Value

Numeric vector or list of vectors, signal envelope.

Arguments

data

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

p

Numeric value, proportion of the signal to be tapered, default is 0.

Author

Michael Dietze

Examples

Run this code

## load example data set
data(rockfall)

## detrend data set
rockfall_detrend <- signal_detrend(data = rockfall_eseis)

## calculate envelope
rockfall_envelope <- signal_envelope(data = rockfall_detrend)

## plot envelope
plot_signal(data = rockfall_envelope)
                     

Run the code above in your browser using DataLab