Declarations

Up to four times the sample number of blocks may be used to obtain the initial gain coefficients. A default value of 50000 blocks is assumed if none is specified.

An estimate is made of the background under the peak in order to calculate the peak area. A default value of 50 is assumed.

A default value of 1.0 is assumed.

The INIT line is optionally followed by a PEAKS statement in which estimates of the actual peak parameters are specified for each group number.

These statements allow the gain coefficients to be adjusted for detectors where multiple leaves fire and the midpoint angle is used to correct the autogained coefficients for such data. See example in Appendix B for use.

Example

*DATA
GAINARRAY GAINS1
*SPECTRA
GSPEC[2:5] 4096 32
*AUTOGAIN
SAMPLE 10000
PEAKAREA 40
DEVIATION 0.80
INIT GAINS1 FROM GSPEC CENTROIDS 550 5.0 1204 7.3
PEAKS
2 545 5.0 1200 7.2
3 546 5.0 1202 7.2
5 551 5.0 1207 7.3
  ...