NAME
maxamp - compute maximum or average amplitudes within a
sliding window
SYNOPSIS
maxamp [ -Nntap ] [ -Ootap ] [ -nsns ] [ -nene ] [ -rsirs ]
[ -reire ] [ -wwind ] [ -owindo ] [ -max ] [ -ave ] [ -rms ]
[ -med ] [ -roll ] [ -sgn ] [ -V ] [ -? ]
DESCRIPTION
maxamp runs a sliding window down each trace and outputs a
maximum amplitude value for each window position. The output
trace will contain as many samples as there are window posi-
tions. Several different styles of max may be chosen.
maxamp gets both its data and its parameters from command
line arguments. These arguments specify the input, output,
record and trace limits, window length and its overlap, and
the different styles of maximum calculation.
Command line arguments
-Nntap
Enter the input data set name or file immediately after
typing -N; entering nothing specifies a stdin pipe.
This input put file should include the complete path
name if the file resides in a different directory.
Example -n/b/vsp/dummy tells the program to look for
file 'dummy' in directory 'vsp' stored on the 'b' disk.
-Ootap
Enter the output data set name or file immediately
after typing -O. This output file is not required when
piping the output to another process. The output data
set also requires the full path name (see above).
-rs irs
(integer) First record to process (default = 1)
-re ire
(integer) Last record to process (default = all)
-ns ns
First trace in record to process (default = 1)
-ne ne
Last trace in record to process (default = all)
-wwind
Enter the sliding window length in ms to compute the
amplitude maximum. (default = 500ms)
-owindo
Enter the window overlap in ms. This and the window
length itself determine the number of window positions.
This can be computed by dividing the total input trace
minus the window length length by the window overlap.
(default = 250ms)
-max Enter the command line argument '-max' to compute the
maximum absolute amplitude in each sliding window
-ave Enter the command line argument '-ave' to compute the
average RMS amplitude based on live samples
-rms Enter the command line argument '-rms' to compute the
average RMS amplitude based on live samples
-med Enter the command line argument '-med' to compute the
median absolute amplitude in each sliding window
-sgn Enter the command line argument '-sgn' to preserve sign
within the sliding window. The sign for each window
position is computed by finding the average value of
all amplitudes within the window and using the sign of
the average.
-roll
Enter the command line argument '-roll' to roll the
window down the trace one sample at a time.
-V Enter the command line argument '-V' to get additional
printout.
-? Enter this (or '-?' if you are running in c-shell) to
get online help. The program will terminate after
printing this.
BUGS
Unknown
AUTHOR
Paul Gutowski, ATTC x3146
COPYRIGHT
copyright 2001, Amoco Production Company
All Rights Reserved
an affiliate of BP America Inc.
Man(1) output converted with
man2html