3.1.4
Applies response, poles and zeros along with overall gain to the seismogram. Should produce results similar to the sac command: transfer from polezero to none
(Seismogram)
seismogram to instrument correct
(Response)
response to apply
(number)
low cut
(number)
low pass
(number)
high pass
(number)
high cut
Seismogram
:
instrument corrected seismogram
(Seismogram)
(SacPoleZero)
(number)
(number)
(number)
(number)
Seismogram
(SeismogramSegment)
(SacPoleZero)
(number)
(number)
(number)
(number)
SeismogramSegment
FFTResult
Caclulates the frequency response from the given poles and zeros.
(SacPoleZero)
poles and zeros
(number)
number of points in the output fft
(number)
sample rate to compute at
FFTResult
:
frequency response
Applies poles and zeros to the fft of a time series. Modifies the freqValues in place.
(Float32Array)
fft of a timeseries
(number)
sampling frequency
(SacPoleZero)
poles and zeros
(number)
low cut
(number)
low pass
(number)
high pass
(number)
high cut
Float32Array
:
input freq values, with poles and zeros applied
Evaluates the poles and zeros at the given value. The return value is 1/(pz(s) to avoid divide by zero issues. If there is a divide by zero situation, then the response is set to be 0+0i.
(SacPoleZero)
SAC PoleZero response
(number)
frequency to evaluate
InstanceType<any>
:
complex frequency domain value for this frequency
Calculates the frequency taper for the given parameters.
(number)
frequency
(number)
low cut
(number)
low pass
(number)
high pass
(number)
high cut
number
:
taper value at the frequency
Applies the frequency taper to the fft of the time series.
(FFTResult)
fft of time series
(number)
sample rate
(number)
low cut
(number)
low pass
(number)
high pass
(number)
high cut
FFTResult
:
fft with taper applied
commonly used units
(string)
number
(string)
number
Converts a StationXML response to SAC PoleZero style. This converts the analog to digital stage (usually 0) along with the overall gain, but does not include later FIR stages. To maintain compatibility with SAC, this includes extra zeros if needed to convert to displacement. The number of extra zeros added is kept as gamma in the result.
(Response)
stationxml Response to convert
SacPoleZero
:
SAC PoleZero style version of the response
SacPoleZero
number