Return to directory of Todd's CASA extensions
Calls msmd.sourcedirs and extracts the RA/Dec for the specified source ID, in sexagesimal
format. It chooses the first row where the SOURCE_ID column matches the requested source.
It does not currently (CASA 4.4) support ephemeris objects.
See also getRADecForField which uses ms.getfielddirmeas, which
does support ephemeris objects.
Usage:
au.getRADecForSource(vis, source)
Inputs:
vis: measurement set
source: source ID (integer or string integer) or source name
Example:
CASA <6>: au.getRADecForSource('uid___A002_Xa56b1d_X174.ms',0)
Out[6]: '02:38:38.93011, +016:36:59.274620'