The MEXTRACT program extracts one point along one of the axes. The extraction of a 3D spectrum along dimension number 2 will lead to a 2D spectrum.
The MEXTRACT program is called as follows (all parameters must be written on one line):
<Machine ID>mextract <name> <expno> <procno> <disk> <user> <dimension> <sliceno>
The first five parameters define the previously transformed spectrum file on which to operate. The dimension parameter selects the dimension to extract. The slice (plane, box) to extract in that dimension is selected with the sliceno parameter. This must be a number from 0 to the size in that dimension minus one. The name of the projected spectrum is created by appending _<sliceno> to the name of the input file.