NAME

Agc - Automatic gain control


SYNOPSIS

Agc window=200 detect=0 dwind=10 thresh=25. < in.H > out.H


INPUT PARAMETERS

window - integer

      [200] length of the window in number of samples
dwind - integer

       [10]  length od the detection window in number of samples
detect - integer

       [0]  detection off ( Default value ) 1    detection on
thresh - real

      [25.] threshhold
n1,n2,n3 - integer

      standard seplib parameters 


DESCRIPTION

Gain program with first arrival detection


COMMENTS

        Agc gains seismic traces by normalizing each sample  by  the
        power of a window of samples surrounding that point.  

        When the detect= is set to 1, agc is not applied on a trace
        until a first arrival is detected. The first arrival is  
        detected when a moving dwind exceeds an initial dwind by a 
        threshhold factor.


CATEGORY

seis/filter