Command Line Interaction5




Time domain processing:

integrate: int

integratemaxposneg: intmpn
integrates abs val of positive and negative values separately, loads case with maximum integral into samples (use for Mwpd magnitude)

integratemaxposneg: intmpnpk
integrates abs val of positive and negative values separately, loads case with maximum integral for a single pulse into samples (use for Mwp magnitude)

differentiate: dif

removemean: rmean [lb <n_points_from_begin_to_use>] | [ref1 offset1 ref2 offset2]

removetrend: rtrend
A least squares curve fit of a straight line to the data is calculated; this straight line or trend is then subtracted from the data.

cutinmemory: cutim [ref1 offset1 ref2 offset2]
where ref1 and ref2 are time in sec from trace reference time or features on traces (B,E,O, WINDOW_CENTER, WINDOW_START, WINDOW_END or phase/pick label)for begin and end of cut; offset1 and offset2 are offsets in sec from ref1 and ref2, respectively.

smooth: smo [type TRIANGLE | BOXCAR] [ha <window_half_width_in_samples>]

square: sqr

squareroot: sqrt

log: natural logarithm

log10: logarithm base 10

normalize: norm

multiply: mul [v1] <value>

divide: div [v1] <value>

add: add [v1] <value>

subtract: sub [v1] <value>

chop: chop
chops negative parts of a trace: sets all samples with value < 0.0 to 0.0

geomspread: rgain [freq <freq>]
remove response from a trace using constant gain given frequency response function evaluated at a specified frequency

geomspread: gs
multiplies trace by P wave geometrical spreading factor (Aki & Richards, eq. 9.44). Requires that GSARC and DEPTH header variables are set
and that a TauP model is available (see Phases Toolbar and -taup.* arguments)

multlinear: mlin v1 <value_at_begin> v2 <value_at_end>

instper: iper [alpha <alpha>]
implementation of the Allen-Kanamori instantaneous-period algorithm (Allen and Kanamori (2003), The Potential for Earthquake Early Warning in Southern California, Science, 300, 786-789.)

instperwin: iperw [win <nnn>]
implementation of the instantaneous-period algorithm using the Tau_c (windowed) algorithm of Kanamori, H. (2005). Real-time seismology and earthquake damage mitigation. Annual Review of Earth and Planetary Sciences 33, 195–214.

zerocrossperiod: zcper
estimates the dominant signal period based on the time between successive zero crossings.