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.


au.getRADecForSource(vis, source)
  • vis: measurement set
  • source: source ID (integer or string integer) or source name


CASA <6>: au.getRADecForSource('',0)
  Out[6]: '02:38:38.93011, +016:36:59.274620'                 

-- ToddHunter - 2015-08-03

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > GetRADecForSource
Topic revision: 2016-01-28, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback