next up previous contents
Next: SUOP - Unary Arithmetic Up: General Operations on SU Previous: SUADDNOISE - Add noise   Contents

SUGAIN - Gaining to SU data

There are numerous operations which come under the heading of gaining, which ``sugain'' performs. These operations include

The heirarchy of the operations is stated by the following equation
out(t) = scale * BAL{CLIP[AGC{[t^tpow * exp(epow * t) * ( in(t)-bias )]^gpow}]}

You may see what sugain does by running the following examples using suplane data. Noise has been added with ``suaddnoise'' to make the affects of AGC apparent. Type only the items following the percent %. Create some SU data (with noise added, via)

% suplane | suaddnoise > data.su

% suxwigb < data.su title="Ungained Data"  &
% sugain < data.su scale=5.0 | suxwigb title="Scaled data"  &
% sugain < data.su agc=1 wagc=.01 | suxwigb title="AGC=1 WAGC=.01 sec &
% sugain < data.su agc=1 wagc=.2 | suxwigb title="AGC=1 WAGC=.1 sec &
% sugain < data.su pbal=1 | suxwigb title="traces balanced by rms" &
% sugain < data.su qbal=1 | suxwigb title="traces balanced by quantile" &
% sugain < data.su mbal=1 | suxwigb title="traces balanced by mean" &
% sugain < data.su tpow=2 | suxwigb title="t squared factor applied" &
% sugain < data.su tpow=.5 | suxwigb title="square root t factor applied" &
Please note, on your terminal window, there will be a message with ``clip=" some number, for example:
xwigb: clip=1
This indicates the amplitude value above which traces are clipped. You may think of this as the value of the maximum on the trace.


next up previous contents
Next: SUOP - Unary Arithmetic Up: General Operations on SU Previous: SUADDNOISE - Add noise   Contents
John Stockwell 2007-04-10