mPix2Coord

montage_wrapper.commands.mPix2Coord(template_header, ixpix, jypix, debug=False)[source] [edit on github]

Takes an image FITS header template and a pixel (x,y) coordinate, and outputs the corresponding sky location.

Parameters:

template_header : str

ASCII header template describing the image (either a FITS image, or a JPEG file created from the FITS file)

ixpix : int

X coordinate (pixel location) on image

jypix : int

Y coordinate (pixel location) on image

debug : bool, optional

Print out additional debugging information