NAME

Add - Simple math on sepfile


SYNOPSIS

Add Header1 [Header2...] pars >out.H


INPUT PARAMETERS

scale-float

        a list of values to multiply the respective
        data sets by; ie, the first multiplies Header1,
        the second Header2, etc... (Don't list more values
        than headers or you could cause real trouble!)
        Of course the default scale is 1.
        For real valued data the value is one float per
        dataset. If the data is complex you must supply 
        two floats per dataset. These represent the real 
        and imaginary parts of the complex scalars.
add - float

        a list of values to add to the respective data
        sets. (Same syntax as scale.) Default is zero.
mode - char*

       sum, product, or divide the files?
       abs,sqrt,log,exp : if yes, then take abs, log, sqrt, or exp of the
       input Order of operations: abs, add, log, sqrt,
       scale, exp
n1,n2,n3- integer

      cube dimensions of all input header files
      n1, n2, and n3 really should all match. If they are
      missing you will get a warning showing what it took
      them to be, namely, those for the first file listed.
      You also get a warning if o1, d1, etc, don't match.


DESCRIPTION

  Form linear combinations of the data in one or more files.


SEE ALSO

the Math manpage,the Scale manpage


CATEGORY

util/vector