rmBackgroundMatrix: Background matrix substraction See Rashed and Harbi (2014)...

backgroundSubR Documentation

Background matrix substraction See Rashed and Harbi (2014) Background matrix subtraction (BMS): A novel background removal algorithm for GPR data doi: 10.1016/j.jappgeo.2014.04.022 Takes time to compute!!

Description

Background matrix substraction

See Rashed and Harbi (2014) Background matrix subtraction (BMS): A novel background removal algorithm for GPR data doi: 10.1016/j.jappgeo.2014.04.022 Takes time to compute!!

Usage

## S4 method for signature 'GPR'
backgroundSub(
  x,
  width = 21,
  trim = 0.2,
  s = 1,
  eps = 1,
  itmax = 5,
  track = TRUE
)

## S4 method for signature 'GPR'
rmBackgroundMatrix(
  x,
  width = 21,
  trim = 0.2,
  s = 1,
  eps = 1,
  itmax = 5,
  track = TRUE
)

Arguments

x

An object of the class GPR

width

A length-one integer vector equal to the window length of the average window (an odd number).

trim

A length-one numeric vector: the fraction (0 to 0.5) of observations to be trimmed from each end of x before the mean is computed. Values of trim outside that range are taken as the nearest endpoint (argument of the function mean).

s

A length-one positiv numeric vector controling the strength of the weighting scheme

eps

A length-one positiv numeric vector defining the minimum desired residual value. If NULL, itmax defines the iteration number.

itmax

A length-one positiv integer vector defining the maximum iteration number. If NULL, itmax defines the iteration number.

Value

An object of the class GPR with substracted background.


emanuelhuber/RGPR documentation built on May 13, 2024, 9:31 p.m.