NAME

Balance - Perform trace balancing


SYNOPSIS

Balance < in.H bal= oper=0 rms=2000 > out.H


INPUT PARAMETERS

oper - integer
        [0]:  compute balance factors from input data, and apply them 
                to create output.
          1:  compute balance factors from input data, and output the 
                balance factors.
          2:  read in balance factors from auxiliary dataset (bal=), 
                apply them to main input, and output the trace-balanced data.
rms - real
        [2000]: desired output rms level. If rms=0, balance factors will 
                be computed to match the rms level of the first live trace.
n1,n2,n3-integer
      input cube dimensions
bal - char*
      name of auxiliary file containing balance factors (if oper==2)


DESCRIPTION

   Trace balancing of an entire trace (no windowing).


EXAMPLES

        Balance < in.H bal=mybal.txt oper=2 > out.H 
        Apply balance factors contained in file mybal.txt
        Balance < in.H oper=0 rms=2000> out.H 
        Compute balance factors in a 2000 ms window and 
        apply to the data.


CATEGORY

seis/filter