Usage of findRADec

Return to directory of Todd's CASA extensions

Takes an image and converts an RA, Dec value into pixel coordinates. See also findPixel, which is the inverse function.

Usage

au.findRADec(image, radec='', round=True, getvalue=False, beam=None)
  • round: round the pixels to the nearest integer
  • getvalue: if True, then print the pixel value
  • beam: if not None, and getvalue==True, then interpret this as the FHWM beam in arcsec, assume the image is in MJy/sr, and compute the Jy/beam at this pixel

Example:

CASA <9>: au.findRADec('IN_VEX220.LINE_hann.image','17:20:55.3 -35:45:01',round=True)
  Out[9]: (189, 407)

-- ToddHunter - 2013-11-27
Topic revision: r2 - 2014-06-04, 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