Learn R Programming

TDD (version 0.1)

DeconSeis: Deconvolve discrete instrument response from many traces

Description

Deconvolves instrument responses from a seismogram structure from the RSEIS package.

Usage

DeconSeis(GH, inst, L, fl = 0.1, fh = NaN, bitweight = NULL)

Arguments

Value

GH, with the instrument response removed from every trace.

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.

Examples

Run this code
data(COLOC)
swig(COLOC)
L = GetDPZ(c(4, 14), c(0.01, 0.01)) # get responses for 3T and 40T-1s
inst = c(1,1,1,2,2,2) # deconvolve 3T response from channel 1-3,
                      # 40T-1 response from channel 4-6
D = DeconSeis(COLOC, inst, L)
swig(D)

Run the code above in your browser using DataLab