BAGC
Performs Automatic Gain recovery (both in space and time). One may choose
to smooth the energy envelope with either a zero phase box car operator (which then gives an anticipatory component to the gain recovery), or one may choose to use the minimum phase (single pole on the real axis in the z-plane) filter. Output can be either the gain recovered data, or the smoothed gain recovery envelopes, sqrt(smoothed energy). First sample set to zero to avoid noise spike.
bagc infile twide itype
infile = input file name
twide = width moving energy window (s)
itype = envelope smoother and output
0= ARMA one-pole exp. decay
1= zero-phase box car
2= output ARMA envelope
3= output BOXCAR envelope
Example zero-phase box car, bagc c008.seg .3 1
Figure 81:
BAGC: Zero-phase boxcar 0.3 seconds.
|
Example single pole, bagc c008.seg .04 0
Figure 82:
BAGC: Single pole AGC envelope .04 seconds.
|