getRADecForFieldFromASDM

Return to directory of Todd's CASA extensions

Reads the RA, Dec for a specified field in an ASDM. See also getRADecForField.

Usage:

au.getRADecForFieldFromASDM(asdm, field, forcePositiveRA=False, sexagesimal=False)
Inputs:
  • asdm
  • myfieldId: field ID integer
  • sexagesimal: if True, return a string in HH:MM:SS rather than radians
Returns:
  • RA and Dec in radians, unless sexagesimal == True, in which case a string is returned

Example:

CASA <2>: au.getRADecForFieldFromASDM('uid___A002_X99c183_X25b6',4,sexagesimal=True)
  Out[2]: '12:01:35.900000, -065:08:49.22200'

-- ToddHunter - 2015-03-30

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > GetRADecForFieldFromASDM
Topic revision: 2015-03-30, 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