NAME
linear - Output linear combination of two input files:
file_out = a*file_in1 + b*file_in2
SYNOPSIS
linear [ -N1ntap1 ] [ -N2ntap2 ] [ -Ootap ] [ -amp1amp1 ] [
-amp2amp2 ] [ -? ]
DESCRIPTION
linear weights and stacks 2 input data sets. Current options
are:
1. default: output = N1 + N2
linear gets both its data and its parameters from command
line arguments. These arguments specify the input, output,
N1 and N2 amplitude multiplier.
Command line arguments
-N1 ntap1 [default = stdin]
Enter the input data set name or file immediately after
typing -N1. This input file should include the com-
plete path name if the file resides in a different
directory. Example -N1/vsp/dummy tells the program to
look for file 'dummy' in directory 'vsp'.
-N2 ntap2 [default = none]
Enter the input data set name or file immediately after
typing -N2. This input file should include the complete
path name if the file resides in a different directory.
Example -N2/vsp/dummy tells the program to look for
file 'dummy' in directory 'vsp'.
-O otap [default = stdout]
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).
-amp1 amp1
Enter the multiplier to be applied to the N1 dataset
[Default=1]
-amp2 amp2
Enter the multiplier to be applied to the N2 dataset
[Default=1]
-? -h -help
Enter the command line argument '-?' or '-h' or '-
help' to get online help. The program terminates after
the help screen is printed.
BUGS
Unknown
AUTHOR
B. Duquet [ATTC]
COPYRIGHT
copyright 2001, Amoco Production Company
All Rights Reserved
an affiliate of BP America Inc.
Man(1) output converted with
man2html