signal_envelope: Calculate signal envelope.

View source: R/signal_envelope.R

signal_envelopeR Documentation

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)

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.

Value

Numeric vector or list of vectors, signal envelope.

Author(s)

Michael Dietze

Examples


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

eseis documentation built on Aug. 10, 2023, 5:08 p.m.

Related to signal_envelope in eseis...