R2CMPLX-Creates a complex data structure from a real data array
Usage:
r2cmplx rdata cdata
Description:
Creates a complex data structure from a real data structure.
RCMPLX sets the imaginary part of the complex data to
zero. It can be set subsequently using the I2CMPLX command.
The output data follows the input in structure, except that the
data array is of type DOUBLE. A zero-filled imaginary data array
is also created. Any axis structures are retained.
Parameters:
RDATA
RDATA is the name of an existing file that contains a data
array that is to become the real part of the complex data
structure that is created by R2CMPLX.
CDATA
CDATA is the name of the complex data structure to be created.
Its real part will come from the structure specified as RDATA,
and its imaginary part will be set to zero. If CDATA is the
same as RDATA, RDATA will be transformed into a complex
structure; otherwise, a new file is created.
FIGARO A general data reduction system Starlink User Note 86 Keith Shortridge, Horst Meyerdierks, Malcolm Currie, Martin Clayton, Jon Lockley, Anne Charles, Clive Davenhall, Mark Taylor, Tim Ash, Tim Wilkins, Dave Axon, John Palmer, Anthony Holloway and Vito Graffagnino 2004 February 17 E-mail:starlink@jiscmail.ac.uk