Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | coordsys |
type | in | Type of projection | |
Allowed: | String | ||
Default: | Current |
If the Coordinate System contains a direction coordinate, this function (short-hand name p) can be used to recover information about the projection. For discussion about celestial coordinate systems, including projections, see the papers by Mark Calabretta and Eric Greisen. The initial draft from 1996 (implemented in AIPS++Background information can be found here.
What this function returns depends upon the value you assign to type.
You can change the projection with setprojection.
If the Coordinate System does not contain a direction coordinate, an exception is generated.
- cs := coordsys(direction=T) - cs.projection() [type=SIN, parameters=[0 0] ] - - cs.projection('all') AZP TAN SIN STG ARC ZPN ZEA AIR CYP CAR MER CEA COP COD COE COO BON PCO GLS PAR AIT MOL CSC QSC TSC - - cs.projection('ZPN') 10We first recover the projection type and parameters from the direction coordinate. Then we find the list of all possible projection types. FInally, we recover the number of parameters required to describe the 'ZPN' projection.