SYNOPSIS
PERL PROGRAM NAME:
AUTHOR: Juan Lorenzo (Perl module only)
DATE:
DESCRIPTION:
Version:
USE
NOTES
Examples
SYNOPSIS
SEISMIC UNIX NOTES SUPSMOVIE - PostScript MOVIE plot of a segy data set
supsmovie <stdin [optional parameters] >
Optional parameters:
n2 is the number of traces per frame. If not getparred then it
is the total number of traces in the data set.
n3 is the number of frames. If not getparred then it
is the total number of frames in the data set measured by ntr/n2
d1=tr.d1 or tr.dt/10^6 sampling interval in the fast dimension
=.004 for seismic (if not set)
=1.0 for nonseismic (if not set)
d2=tr.d2 sampling interval in the slow dimension
=1.0 (if not set)
f1=tr.f1 or tr.delrt/10^3 or 0.0 first sample in the fast dimension
f2=tr.f2 or tr.tracr or tr.tracl first sample in the slow dimension
=1.0 for seismic (if not set)
=d2 for nonseismic (if not set)
verbose=0 =1 to print some useful information
tmpdir= if non-empty, use the value as a directory path
prefix for storing temporary files; else if the
the CWP_TMPDIR environment variable is set use
its value for the path; else use tmpfile()
Note that for seismic time domain data, the "fast dimension" is
time and the "slow dimension" is usually trace number or range.
Also note that "foreign" data tapes may have something unexpected
in the d2,f2 fields, use segyclean to clear these if you can afford
the processing time or use d2= f2= to over-ride the header values if
not.
See the psmovie selfdoc for the remaining parameters.
On NeXT: supsmovie < infile [optional parameters] | open
Credits:
CWP: Dave Hale and Zhiming Li (psmovie)
Jack K. Cohen (suxmovie)
John Stockwell (supsmovie)
Notes:
When n2 isn't getparred, we need to count the traces
for psmovie. In this case:
we are using tmpfile because on many machines it is
implemented as a memory area instead of a disk file.
Although we compute ntr, we don't allocate a 2-d array
and content ourselves with copying trace by trace from
the data "file" to the pipe into the plotting program.
Although we could use tr.data, we allocate a trace buffer
for code clarity.
User's notes (Juan Lorenzo)
untested VERSION = '0.0.2'; Only redirection is allowed. 2.9.23
CHANGES and their DATES
Import packages
instantiation of packages
Encapsulated hash of private variables
sub Step
collects switches and assembles bash instructions by adding the program name
sub note
collects switches and assembles bash instructions by adding the program name
sub clear
sub d1
sub d2
sub f1
sub f2
sub tmpdir
sub verbose
sub get_max_index
max index = number of input variables -1