bedt - BSU program which edits traces and samples in a bsegy data set
bedt [ -h | infile | tmin | tmax | ifirst | ilast | idecm | iantia ]
Basic Seismic Utilities (BSU) edits a seismic data set by selecting a range of traces or samples in time. One may also change the sample interval, decimating (increase the sample interval) or interpolation (decrease the sample interval). If one specifies a range of traces beyond the data, then traces will be added to the data set, samples zeroed (geometry headers are not projected however). If a time gate isspecified outside the range of data, samples with zero amplitude are filled in. If one only wants to do sinc interpolation, see program brsp.
Options
-h |
Online help giving details on command line arguments | ||
infile |
Input file name | ||
tmin |
Minimum time for sample to be included in output | ||
tmax |
Maximum time for sample to be included in output | ||
ifirst |
First trace to include in output (can be negative, but this will cause traces of zero amplitude to be appended to the front of the data set) | ||
ilast |
Last trace number to include in output (can exceed the number of traces in the input file, but this will cause traces of zero amplitude to be appended to the end of the data set) | ||
idecm |
Decimation factor (negative value interpolates rather than decimates). Set idecm=1 to keep same sample interval. To output every other sample, idecm=2. If idecm=-2, then interpolate samples between original samples. | ||
ianti |
Switch to select anti-alias filter before decimation. |
0=no anti-alias filter
1=apply anti-alias filter (recommended if +decimation factor)
NOTE:
If invoked with no options, will prompt user for input
parameters.
EXAMPLES:
bedt f001.seg 0. 0.2 1 10 1
Select samples only between 0 and 0.2 seconds, traces 1 through 10. Keep the sample interval the same.
bedt f001.seg -.1 0.1 1 10 2 1
Select samples only between -.1 and 0.1 seconds. Actually, this will static shift the data. Output will have zeroed samples from 0 to .1 seconds. Output data from .1 to 0.2 seconds will come from 0 to 0.1 seconds on the input data. Only every other sample of the input data will be output (decimation +2). The anti-alias filter will be applied.
bedt f001.seg -.1 .1 -2 5 -2
Time gate same as above, but now will interpolate samples using sinc interpolator, the new sample interval will be 1/2 the original. Two zeroed traces will be appended to the front of the data set, and no traces beyond trace 5 (input) will be included in the output.
bedtxxxx.seg
Named according to convention (first 4char bedt, the next 4char are the first 4char of the input file name, suffix .seg)
standard output
produces a progress bar
bedtxxxx.lst
Echo check of input parameters.
bhelp(1), brsp(1)
No known bugs. However, if the input data set has too many samples, you may wish to recompile with a larger value of ndim (maximum dimension for a trace vector).
Copyright © 2024 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. <paulmichaels@.boisestate.edu>