brpt - BSU program to remove pretrigger from data and headers (C_Language)
brpt [ -h | infile ]
Basic Seismic Utilities (BSU) removes pretrigger from data and header. A pretrigger delay is used to capture data and save it before the trigger signal is received by the seismograph. For example, -10 ms pretrigger (or trigger delay) will start saving data 10 ms before the trigger signal. This has the effect of delaying all seismic arrivals by 10 ms. Conversly, a +10 ms pretrigger is actually a delay of recording data after a trigger is received. Data from the trigger to 10 ms would be lost in that case. Negative pretriggers are used when one is interested in seeing what the signal is before the trigger signal. An example might be when a load cell signal from a modal hammer is used to trigger the seismograph. C-Language Version.
Options
-h |
Online help giving details on command line arguments | ||
infile |
First argument is usually the input file name |
NOTE:
If invoked with no options, will prompt user for input
parameters.
EXAMPLE:
brpt w001.seg
File w001.seg is processed by brpt. Pretrigger delay time is read from each trace header. Data are static shifted to remove delay found in header. Header hd.ictime is updated.
cmstxxxx.seg
named according to convention (first 4char cmst, the next 4char are the first 4char of the input file name, suffix .seg)
standard output
produces a progress bar
cmstxxxx.lst
Echo check of input parameters in listing file.
bhelp(1), bdump(1) c_bsegy(5)
no known bugs
Copyright © 2017 by Paul Michaels
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
P. Michaels, PE. <pm@cgiss.boisestate.edu>