NAME

Clip - clip a dataset


SYNOPSIS

  Clip pclip=98 dclip=1 retry=y chop=no to=zero clip= <  in.H > out.H


INPUT PARAMETERS

pclip - int

       98 - clip percentile
dclip - float

       [1.]  scale on clip
clip - float

       Set the clip value yourself
retry - char

       [y] If the clip turns out zero, Getclip will try
       again with a higher pclip if the input file is not all zeroes.
chop - char*

       [no]  values are not changed.
       less-all values less than or equal to the clip value 
           will be changed.
       greater - all values greater than the the clip value 
           will be changed.
       to-What the above values are changed to a value, or "clip".
       clip- if chop=g
          (The original sign is multiplied by this value,
          so a positive value of to preserves the original sign)
n1,n2,n3 - int

      cube dimensions.


DESCRIPTION

  Clip - get clip value based on all the data and put it on the header,
               and do various sorts of clipping if requested.


CATEGORY

seis/filter