AXGFUNC is a "skeleton" routine into which a scientist may insert Eanalysis routines of his or her own design. The structure for XGFUNCAis the basis on which all other application routines are written.BXGFUNC is composed of a dummy main which calls XGDATA. XGDATA in Kturn calls the user module XGUSER which may be modified to perform specificManalysis of data retrieve by subroutine XGDATA. XGFUNC is always renamed by Mthe scientist to reflect the new functions being performed by his version of LXGUSER. XGDATA calls subroutine XGFUNC five times with a different value ofIthe variable IQ. For each unique value of IQ a different portion of the NXGUSER code is executed. For application modules the processing steps will beMdifferent as required by various processing needs. A generic description of -what occurs at each level is described below..LT" 1) Initialization of variables.# 2) Initialization of a sequence.E 3) Processing of the data send to the module by subroutine XGDATA.) 4) End of processing for one sequence.= 5) End of task, close all files, perform final processing.JFor comparison to an involved process refer to section 2.5 (MAPLOT), this Mwill illustrate a few of the functions which can be performed at each level. .EL@For a complete description on how to modify XGUSER refer to the NXGDATA help system -PRGMRGD. A major advantage of this program design is thatOthe scientist does not need to rewrite the entire data retrieval portion of theNsystem. Another benefit is that all constraining is done for the scientist bymodules invoked in XGDATA.