btdc - BSU program resamples data in time (C-Language Version)
btdc [ -h | infile | idecm ]
Basic Seismic Utilities (BSU) resamples data in time by decimation. You will have fewer samples on output. An agressive zero phase anti-alias filter is automatically employed before resampling. An alternative program with more options is bedt. C-Language Version.
Options
-h |
Online help giving details on command line arguments | ||
infile |
Input file name | ||
idecm |
Decimation factor. Example, if idecm = 2, every other sample is output. |
NOTE:
If invoked with no options, will prompt user for input
parameters.
EXAMPLE:
btdc w001.seg 2
File w001.seg is processed by btdc. Output traces have 1/2 as many samples.
btdcxxxx.seg
named according to convention (first 4char btdc, the next 4char are the first 4char of the input file name, suffix .seg)
standard output
produces a progress bar
btdcxxxx.lst
Echo check of input parameters in listing file.
bhelp(1), bedt(1)
no known bugs
Copyright © 2021 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. <[email protected]>