Produced by IDL 7.1.1
User Documentation

./toolbox
getgal.pro

Last modification date:
Wed Sep 28 13:27:11 2016

getgal

function getgal(dc, [/quiet])

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.

Returns
vector (spectral line) or array (continuum) holding galactic longitude and latitude, in degrees.
Version
$Id$

Parameters
dc
in, required
data container
The data container to get the coordinate values from.

Keywords
quiet
in, optional
boolean
When set, warning messages are suppressed.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:39 2016