bsum

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

bsum - BSU program sums two data sets. (C-Language Version)

SYNOPSIS

bsum [ -h | infile1 | infile2 | scalef ]

DESCRIPTION

Basic Seismic Utilities (BSU) computes the weighted sum of two seismic data sets. The second data set can be weighted by a scale factor (-1.0 would subtract the second from the first). C-Language Version.

Options

-h

Online help giving details on command line arguments

infile1

Input file name

infile2

Input file name

scalef (float)

Scale factor to multiply second data set by.

output=infile1 + scalef*infile2

NOTE:
If invoked with no options, will prompt user for input parameters.

EXAMPLE:
bsum bequbshf.seg bmedbequ.seg -1.0

File bmedbequ.seg is subtracted from bequbshf.seg.

FILES

bsumxxxx.seg

named according to convention (first 4char bsum, the next 4char are the first 4char of the input file name, suffix .seg)

standard output

produces a progress bar

bsumxxxx.lst

Echo check of input parameters in listing file.

SEE ALSO

bhelp(1)

BUGS

no known bugs

COPYRIGHT

Copyright © 2017 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.

AUTHOR

P. Michaels, PE. <pm@cgiss.boisestate.edu>