The previous section sneaked in a reference to the function `cmplx2r', in the hope that what it did was obvious. As the name is intended to imply, `cmplx2r' is the reverse of `r2cmplx', and generates a non-complex data structure whose data array is taken from the real part of the data in a specified complex data structure.
`cmplx2r' does not make any changes to the dimensions of the data array.
Analogous to `cmplx2r' are `cmplx2i' and `cmplx2m', which extract the imaginary part of the data and the modulus of the data. Usually, there will be little point in explicitly extracting the real part, since it is already available to most Figaro functions as described earlier. However, the file generated by `cmplx2r' will be smaller than the original file, since it will no longer contain the imaginary array, and this may be a point in its favour.
FIGARO A general data reduction system