Learn R Programming

TDD (version 0.4)

DeconTrace: Deconvolve Instrument Response (Single Trace)

Description

Deconvolves a discrete instrument response from a seismic trace.

Usage

DeconTrace(x, DPZ, fl = 0.05, fh = NaN, bitweight = NULL, dec = 1)

Arguments

x
Trace from which instrument response is deconvolved
DPZ
Discrete instrument response list (from MakeDPZ, for example)
fl
Low corner of filter (NaN for no high-pass filtering) (Hz)
fh
High corner of filter (NaN for no low-pass filtering) (Hz)
bitweight
Optional counts-to-volts factor for data in counts (volts/counts)--NULL if data are already in volts
dec
Oversampling/decimation factor (optional)

Value

Deconvolved velocity trace (vector).

Details

Discrete instrument responses are specific to a given sampling rate. If the response you give has a different sample rate (given by DPZ$dt) from the trace x, you will get incorrect results. DPZ$dt * dec should be equal to the trace's sample interval.

See Also

ConvolveTrace, DeconSeis

Examples

Run this code
# Response of Guralp CMG-3T
DPZ = GetDPZ(4, 0.01)[[1]]

data(COLOC)
x = COLOC$JSTR[[1]]

DeconTrace(x, DPZ)

Run the code above in your browser using DataLab