1 FIELD_STAT FIELD_STAT This task computes the integrated spectrum of a number of fields in a data cube. It requests as input a 3-D image, and a label image (usually produced by task FIELD_FIND). The output is a table where every even column is the average spectrum for one field. Odd columns contain the number of data points in the corresponding field (not an optimal storage indeed!). 2 Y_NAME$ TASK\FILE "Input image" Y_NAME$ The name of the input data cube. 2 X_NAME$ TASK\FILE "Associated input label image" X_NAME$ The name of the input label image (usually produced by FIELD_FIND). 2 T_NAME$ TASK\FILE "Output table" T_NAME$ The name of the output table. 2 FIELD$ TASK\INTEGER "Maximum number of fields" FIELD$ The maximum of fields the program will accept. This determines the size of the output table. Answer the value that was found by FIELD_FIND. 1 END