ConvolveTrace: Convolve Trace with Instrument Response
Description
Convolves a single velocity trace (m/s) with a discrete instrument
response to get the voltage signal it returns.
Usage
ConvolveTrace(x, DPZ, dec = 1)
Arguments
x
Velocity trace (m/s)
DPZ
Discrete instrument response (from MakeDPZ, for example)
dec
Oversampling/decimation factor (optional)
Value
Convolved trace in volts (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 times dec
should be equal to the sample interval of the trace.