Only a subset of the full *COMMANDS section is available here to allow the update of gain spectra.
CREATELIST defines an internal list of data words from
group-parameter-list-name
which consists of the variables specified in an item list
that are found in the current event,
Example
CREATELIST GELIST FROM GE
would create the group-parameter-list GELIST consisting of all the germanium groups.
Spectra may be indexed my means of the INDEXED keyword
used with the INC command
where index
may be an integer expression,
or dollar word used to specify a group number.
The value of index
determines which spectrum will be incremented:
a value of 1 indicates the first spectrum in the array;
2 indicates the second, and so on.
Spectra indexed in this way must all have the same dimensions
and precision and be defined consecutively in
the spectra section.
See first example in Appendix B for how to use autogain to derive gain coefficients and then use them in the main commands section.