|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox getgal.pro
getgal |
Get galactic coordinates from a data container.
This returns the galactic longitude and latitude as a 2-element vector (for spectral line data) or array (with dimension of [2, the number of integrations] for continuum data) appropriate for the given data container. The values in the longitude_axis and latitude_axis are used as is the coordinate_mode. If the coordinate_mode is GALACTIC then those values are returned as is.
If the data container's coordinate_mode field is OTHER then the values are returned as is and a warning message is emited. That warning message can be suppressed if /quiet is set.
Parameters | |
dc |
The data container to get the coordinate values from. |
Keywords | |
quiet |
When set, warning messages are suppressed. |