SPECTRUM

##
SPECTRUM

            [DISPLAY\]SPECTRUM OutSpec InCube [Mask]
              [/CORNER Imin Imax Jmin Jmax] [/PLANE First Last]  /MEAN  or  /SUM

        Compute a Spectrum, stored in variable OutSpec from an input  data  cube
        stored  in variable InCube, by summing (if /SUM is present) or averaging
        (if /MEAN is present) over the region  specified  by  the  current  GreG
        polygon,  or  the  2-D  or  3-D mask specified by Mask, truncated to the
        specified corner if any.

        OutSpec[1] contains the "velocities" (values along the 3rd axis  of  the
        InCube data cube).  OutSpec[2] contains the spectrum values.

Subsections

- SPECTRUM /CORNER
- SPECTRUM /MEAN
- SPECTRUM /PLANE
- SPECTRUM /SUM