getRADecStringForField
Return to directory of Todd's CASA extensions
Returns the RA/Dec sexagesimal string for the specified field in the specified ms.
If run in casa >= 4.2.0, it will use ms.getfielddirmeas(), instead of reading the DELAY_DIR field of the ms directly
See also
getRADecForField to get the value in radians.
Usage:
au.getRADecStringForField(vis, myfieldId, usemstool=False, forcePositiveRA=False)
- myfieldId can be an integer or string integer
Example:
CASA <2>: au.getRADecStringForField('uid___A002_X6e23cb_X1c19.ms',0)
12:56:11.16656, -005:47:21.524580
Out[2]: '12:56:11.16656, -005:47:21.524580'
--
ToddHunter - 2013-10-01