Constant for bandpass OregonDSP filter creation.
Constant for lowpass OregonDSP filter creation.
Constant for highpass OregonDSP filter creation.
Remove the mean from a seismogram. Subtract the mean from each data point.
(Seismogram)
input seismogram
Seismogram
:
seismogram with mean of zero
Apply the frequency independent overall gain to a seismogram. This does not do a full transfer using poles and zero, this only applies the scalar conversion factor to convert counts back to original real world units and update the units.
(Seismogram)
the seismogram to correct
(InstrumentSensitivity)
overall gain object, usually pulled from stationxml
Seismogram
:
new seismogram with original units, like m/s and gain applied.
Type: {min: number, max: number, mean: number}
Creates a Butterworth IIR filter using the OregonDSP library.
(number)
number of poles
(string)
type, use constants of BAND_PASS, LOW_PASS, HIGH_PASS
(number)
low corner frequency
(number)
high corner frequency
(number)
delta, period, of timeseries
any
:
Butterworth IIR filter
Creates a Chebyshev I IIR filter using the OregonDSP library.
(number)
number of poles
(number)
Chebyshev epsilon value
(string)
type, use constants of BAND_PASS, LOW_PASS, HIGH_PASS
(number)
low corner frequency
(number)
high corner frequency
(number)
delta, period, of timeseries
any
:
Chebyshev I IIR filter
Creates a Chebyshev II IIR filter using the OregonDSP library.
(number)
number of poles
(number)
Chebyshev epsilon value
(string)
type, use constants of BAND_PASS, LOW_PASS, HIGH_PASS
(number)
low corner frequency
(number)
high corner frequency
(number)
delta, period, of timeseries
any
:
Chebyshev II IIR filter
Applies the filter to the given seismogram.
(OregonDSP.filter.iir.IIRFilter)
filter to apply
(Seismogram)
seismogram to apply filter to
Seismogram
:
filtered seismogram
Calculates the envelope, y_i = sqrt( y_i y_i + h_i h_i) where h is the hilber transform of y. The default configuration for the hilbet transform is n=100, lowEdge=.05 and highEdge = 0.95
(Seismogram)
seismogram to apply envelope to
Seismogram
:
seismogram cloned but with data as the envelope
Calculates the hilbert transform using the OregonDSP library with default number of points, n=10 (to yield a 21 pt FIR transform) and default low and high edge of 0.05 and 0.95. Low and high edge are given normalized 0 to 1.
(Seismogram)
seismogram to calculate from
(number?)
optional number of points in transform, default is 10
(number?)
low edge of filter, normailized to 0-1, default is 0.05
(number?)
high edge of filter, normailized to 0-1, default is 0.95
Seismogram
:
hilbert transformed data