- ←Prev
- AST
A Library for Handling
World Coordinate Systems
in Astronomy - Next→
- TOC ↑
AST_UNITMAP
Create a UnitMap
Description:
This function creates a new
UnitMap and
optionally initialises its attributes.
A UnitMap is a unit (null) Mapping that has no effect on the coordinates supplied to it. They are
simply copied. This can be useful if a Mapping is required (e.g. to pass to another routine)
but you do not want it to have any effect.
Invocation
RESULT = AST_UNITMAP( NCOORD,
OPTIONS, STATUS )
Arguments
NCOORD = INTEGER (Given)
The number of input and
output coordinates (these numbers are necessarily the same).
OPTIONS = CHARACTER
∗ (
∗ )
(Given)
A character string containing an optional comma-separated list of attribute assignments
to be used for initialising the new UnitMap. The syntax used is identical to that for the
AST_SET routine.
STATUS = INTEGER (Given and Returned)
The global status.
Returned Value
AST_UNITMAP = INTEGER
A pointer to the new UnitMap.
Notes:
Copyright (C) 2021 East Asian Observatory
- ←Prev
- AST
A Library for Handling
World Coordinate
Systems
in Astronomy - Next→
- TOC ↑