An integral field spectrograph obtains spectra throughout a two-dimensional field instead of along one slit alone. Its reduced spectral data cube is : two coordinates locate a spatial sampling element and the third labels wavelength. One slice at fixed wavelength is an image; one column at fixed spatial position is an optical spectrum. The third axis is spectral, not a third spatial direction.
Six ways to obtain such a cube illustrate the distinction between field reformatting and scanning:
The first four are simultaneous spatially multiplexed grating arrangements. The last two deliver equivalent cube coordinates by scanning; they are imaging spectrometers rather than simultaneous grating integral-field units, and variability during the scan can corrupt the cube. Detector packing, sampling, calibration and throughput determine the practical tradeoffs.
A data cube contains one spectrum per spatial element: two sky coordinates plus wavelength.