Constant for bandpass OregonDSP filter creation.
Type: string
Constant for lowpass OregonDSP filter creation.
Type: string
Constant for highpass OregonDSP filter creation.
Type: string
(any)
(any)
Remove the mean from a seismogram. Subtract the mean from each data point.
(any)
input seismogram
any:
seismogram with mean of zero
Calculate best fit line to seismogram. Limited to contiguous data currently. Code derived from scm/lifite.c in SAC. Original version from Steve Taylor.
(any)
[description]
(any)
[description]
any:
best fit line
Returns a new Seismogram with the trend removed by subtracting the trend line from each data point.
(any)
input seismogram
(any)
optional fit type
any:
seismogram with mean of zero and best fit line horizontal
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.
(any)
the seismogram to correct
(any)
overall gain object, usually pulled from stationxml
any:
new seismogram with original units, like m/s and gain applied.
(any)
(any)
(any)
(any)
(any)
Creates a Butterworth IIR filter using the OregonDSP library.
(any)
number of poles
(any)
type, use constants of BAND_PASS, LOW_PASS, HIGH_PASS
(any)
low corner frequency
(any)
high corner frequency
(any)
delta, period, of timeseries
any:
Butterworth IIR filter
Creates a Chebyshev I IIR filter using the OregonDSP library.
(any)
number of poles
(any)
Chebyshev epsilon value
(any)
type, use constants of BAND_PASS, LOW_PASS, HIGH_PASS
(any)
low corner frequency
(any)
high corner frequency
(any)
delta, period, of timeseries
any:
Chebyshev I IIR filter
Creates a Chebyshev II IIR filter using the OregonDSP library.
(any)
number of poles
(any)
Chebyshev epsilon value
(any)
type, use constants of BAND_PASS, LOW_PASS, HIGH_PASS
(any)
low corner frequency
(any)
high corner frequency
(any)
delta, period, of timeseries
any:
Chebyshev II IIR filter
Applies the filter to the given seismogram.
(any)
filter to apply
(any)
seismogram to apply filter to
any:
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
(any)
seismogram to apply envelope to
any:
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.
Note this uses Float32Array, other array types will be converted, possibly losing precision.
(any)
seismogram to calculate from
(any)
optional number of points in transform, default is 10
(any)
low edge of filter, normailized to 0-1, default is 0.05
(any)
high edge of filter, normailized to 0-1, default is 0.95
any:
hilbert transformed data
Differentiate a seismogram.
(any)
input seismogram
any:
differentiated seismogram
Integrate a seismogram.
(any)
input seismogram
(any
= 0)
integration constant, optional, defaults to 0
any:
integrated seismogram