traplt - BSU program generates line-printer plots (time, freq) of a selected trace
traplt [ -h | infile | tmin | tmax | trace# | tzero | ilin ]
Basic Seismic Utilities (BSU) lists sample values next to a line-printer style plot, displaying waveform with "*" symbols. A namelist of the sample amplitudes follows the plot, suitable for use with the filtering program bftr. After the namelist, a line-printer spectral plot is displayed, showing amplitude and phase. The user may plot amplitude on a linear or decibel scale. Fortran 77.
Options
-h |
Online help giving details on command line arguments | ||
infile |
Input file name | ||
tmin |
The start time for the data to be displayed (beginning of aperture). | ||
tmax |
The end time for the data to be displayed (end of aperture). | ||
trace# |
The trace number to be displayed (can select only one trace). | ||
tzero |
Time zero reference for phase plot. A delayed arrival will have a highly wrapped phase plot. Setting tzero to the arrival time of a wavelet permits better viewing of the phase. | ||
ilin |
Switch to select the type of plot (linear or decibel) |
0=decibel (logarithmic)
1=linear (normalized on maximum value)
NOTE:
If invoked with no options, will prompt user for input
parameters.
EXAMPLE:
traplt wave.seg 0. .10 10 .05 1
Trace 10 of file wave.seg is plotted from 0 to 0.1 seconds. The time reference for the phase plot is set at .05 seconds, and the amplitudes are plot on a linear scale.
standard output
produces a progress bar
traplt.lst
echo check of input parameters and line-printer plots.
bhelp(1), bftr(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. <paulmichaels@.boisestate.edu>