brsp - BSU program which resamples seismic traces (interpolation, Frequ. Domain)
brsp [ -h | infile | ifact | tmax ]
Basic Seismic Utilities (BSU) resamples data (interpolation only). Method is augmentation with zeros in the frequency domain. Thus, no new frequencies are introduced in the interpolated data (this would not be the case with linear interpolation). This particular implementation of sinc interpolation is uses a radix 2 FFT, and thus is limited to decreasing the sample interval by factors of 2, 4, 8, etc. Alternatively, one may interpolate data using bedt.
Options
-h |
Online help giving details on command line arguments | ||
infile |
Input file name | ||
ifact |
Factor by which sample interval is decreased. CAUTION: Trace length also increases by a factor of 2**ifact. |
1=sample interval halved.
2=sample interval 1/4 of original.
n=sample interval 1/(2**n) of original.
tmax |
Maximum sample time in output data set. This is provided to avoid excessively long traces. Program bedt may also be used to reduce the size of the original data set. Number of samples limited by 16 bit header (32,767 samples max.). |
NOTE:
If invoked with no options, will prompt user for input
parameters.
EXAMPLE:
brsp w001.seg 1 0.1
Program halves the sample interval and only outputs data from 0 to 0.1 seconds.
brspxxxx.seg
Named according to convention (first 4char brsp, the next 4char are the first 4char of the input file name, suffix .seg)
standard output
produces a progress bar
brspxxxx.lst
Echo check of input parameters.
bhelp(1), bedt(1)
No known bugs
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. <[email protected]>