seismic.operate {RGeoS}R Documentation

Perform operations on the seismic attributes

Description

Perform operations on the seismic attributes

Usage

seismic.operate(db, oper = 0, modify.target = TRUE)

Arguments

db

The db-class containing the seismic attributes to be transformed

oper

Type of the operation

  • 0: no operation

  • 1: absolute value = |v[i]|

  • 2: signed square root = sign(v[i]) * sqrt(v[i])

  • 3: square = v[i] * v[i]

  • 4: signed square = sign(v[i]) * v[i] * v[i]

  • 5: signum function = sign(v[i])

  • 6: exponentiate = exp(v[i])

  • 7: signed natural log = sign(v[i]) * log(|v[i]|)

  • 8: signed common log = sign(v[i]) * log10(|v[i]|)

  • 9: cosine = cos(v[i])

  • 10: sine = sin(v[i])

  • 11: tangent = tan(v[i])

  • 12: hyperbolic cosine = cosh(v[i])

  • 13: hyperbolic sine = sinh(v[i])

  • 14: hyperbolic tangent = tanh(v[i])

  • 15: divide trace by its maximum Value = v[i] / max(v[i])

  • 16: decibel = 20 * sign(v[i]) * log10(|v[i]|)

  • 17: negate value = -v[i]

  • 18: pass only positive values = max(0.,v[i])

  • 19: pass only negative values = min(0.,v[i])

  • 20: sum trace integration = sum(k<=i) (v[k]) / (2*dt)

  • 21: diff trace differentiation = (v[i+1]-v[i-1])/(2*dt)

  • 22: reflectivity = (v[i+1] - v[i])/(v[i+1] + v[i]) (first row set to TEST)

  • 23: modulo 2 pi = v[i] in [0, 2*PI]

  • 24: inverse = 1. / v[i]

  • 25: remove average value = v[i] - average(v[i])

modify.target

When TRUE, the results are set as new target variables in the output DB.

Value

The db-class structure with the newly transformed variables

See Also

seismic.grid.define seismic.convolve seismic.convert


[Package RGeoS version 9.1.1 Index]