Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/ConvolveTrace.R
Convolves a single velocity trace (m/s) with a discrete instrument response to get the voltage signal it returns.
1 | ConvolveTrace(x, DPZ, dec = 1)
|
x |
Velocity trace (m/s) |
DPZ |
Discrete instrument response (from MakeDPZ, for example) |
dec |
Oversampling/decimation factor (optional) |
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 times dec should be equal to the sample interval of the trace.
Convolved trace in volts (vector).
Jake Anderson
DeconTrace, DeconSeis
1 2 3 4 5 | # Response of Guralp CMG-40T
DPZ = GetDPZ(12, 1)[[1]]
x = rnorm(1000)
ConvolveTrace(x, DPZ)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.