dewow: Trace dewowing

dewowR Documentation

Trace dewowing

Description

dewow remove the low-frequency component (the so-called 'wow') of every traces.

Usage

## S4 method for signature 'GPR'
dewow(
  x,
  type = c("runmed", "runmean", "mad", "gaussian"),
  w = NULL,
  track = TRUE
)

Arguments

x

[GPR class] An object of the class GPR.

type

[character(1)] Dewow method, one of runmed (running median), runmean (running mean), MAD (DEPRECATED Median Absolute Deviation), Gaussian (Gaussian smoothing).

w

[numeric(1)] If type = runmed, MAD or runmean, window length of the filter in trace unit; If type = Gaussian, standard deviation in trace unit. If w = NULL, w is estimated as five times the wavelength corresponding to the maximum frequency of x (estimated with spec)

Details

The low-frequency component is computed by different methods:

  • runmed running median based on runmed

  • runmean running mean based on filter

  • MAD DEPRECATED - Median Absolute Deviation filter

  • Gaussian Gaussian smoothing applied to the trace samples after time-zero based on gaussianSmooth

Modified slots

  • data: trace dewowed.

  • proc: updated with function name and arguments.

Value

[GPR class] An object of the class GPR whose traces are dewowed.

Examples

data(frenkeLine00)
A <- dewow(frenkeLine00, type = "Gaussian")
A

emanuelhuber/RGPR documentation built on March 18, 2024, 8 p.m.