next up previous 237
Next: NDF_ATYPE - Obtain the numeric type of an NDF axis array
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_ASTAT - Determine the state of an NDF axis component (defined or undefined)


NDF_ASTYP - Set a new numeric type for an NDF axis array

Description:
The routine sets a new numeric type for an NDF axis array, causing its data storage type to be changed. If the array's values are defined, they will be converted from from the old type to the new one. If they are undefined, then no conversion will be necessary. Subsequent enquiries will reflect the new numeric type. Conversion may be performed between any numeric types supported by the NDF_ routines.

Invocation:
CALL NDF_ASTYP( TYPE, INDF, COMP, IAXIS, STATUS )

Arguments:

TYPE = CHARACTER $*$ ( $*$ ) (Given)
New numeric type for the axis array (e.g. '_DOUBLE').
INDF = INTEGER (Given)
NDF identifier.
COMP = CHARACTER $*$ ( $*$ ) (Given)
Name of the axis array component whose numeric type is to be set: 'CENTRE', 'VARIANCE' or 'WIDTH'.
IAXIS = INTEGER (Given)
Number of the NDF axis whose array is to be modified.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:



next up previous 237
Next: NDF_ATYPE - Obtain the numeric type of an NDF axis array
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_ASTAT - Determine the state of an NDF axis component (defined or undefined)

NDF [1ex
Starlink User Note 33
R.F. Warren-Smith & D.S. Berry
16th July 2012
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council