1 FIELD_STAT Compute the integrated spectra of a fielded cube
        FIELD_STAT

    This  task  computes  the integrated spectrum of a number of fields in a
    data cube. It requests as input a 3-D cube, and a label  image  (usually
    produced by task FIELD_FIND).  The output is a table where:
    - first column is the channel per channel velocity,
    - next even columns contain the number of data points in the correspond-
      ing field, repeated for each channel (not an optimal storage indeed!),
    - next odd columns are the average spectrum for each field.
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 ENDOFHELP






































