SYNOPSIS
PERL PROGRAM NAME:
AUTHOR: Juan Lorenzo (Perl module only)
DATE:
DESCRIPTION:
Version:
USE
NOTES
Examples
SYNOPSIS
SEISMIC UNIX NOTES SULOG -- time axis log-stretch of seismic traces
sulog [optional parameters] <stdin >stdout
Required parameters:
none
Optional parameters:
ntmin= .1*nt minimum time sample of interest
outpar=/dev/tty output parameter file, contains:
number of samples (nt=)
minimum time sample (ntmin=)
output number of samples (ntau=)
m=3 length of stretched data
is set according to
ntau = nextpow(m*nt)
ntau= pow of 2 override for length of stretched
data (useful for padding zeros
to avoid aliasing)
NOTES:
ntmin is required to avoid taking log of zero and to
keep number of outsamples (ntau) from becoming enormous.
Data above ntmin is zeroed out.
The output parameters will be needed by suilog to
reconstruct the original data.
EXAMPLE PROCESSING SEQUENCE:
sulog outpar=logpar <data1 >data2
suilog par=logpar <data2 >data3
Credits:
CWP: Shuki, Chris
Caveats:
Amplitudes are not well preserved.
Trace header fields accessed: ns, dt
Trace header fields modified: ns, dt
User's notes (Juan Lorenzo) untested
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 m
sub nt
sub ntau
sub ntmin
sub outpar
sub par
sub get_max_index
max index = number of input variables -1