This is the command mPix2Coord that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
mPix2Coord - Output the sky location corresponding to a pixel coordinate
SYNOPSIS
mPix2Coord [-d] template.hdr ixpix jypix
DESCRIPTION
Takes an image FITS header template and a pixel (x,y) coordinate, and outputs the
corresponding sky location.
Newer mExamine can do the same and more for real image files.
OPTIONS
-d Print out additional debugging information
ARGUMENTS
template.hdr
ASCII header template describing the image (either a FITS image, or a JPEG file
created from the FITS file)
ixpix X coordinate (pixel location) on image
jypix Y coordinate (pixel location) on image
RESULT
[struct stat="OK", lon=ra, lat=dec]
where ra, dec are the sky coordinates that correspond to the input pixel.
MESSAGES
OK [struct stat="OK", lon=ra, lat=dec]
ERROR Bad template: template.hdr
ERROR Output wcsinit() failed.
EXAMPLES
To find out what the coordinates are at the 100,130 pixel on an image defined by
template.hdr:
$ mPix2Coord template.hdr 100 130
[struct stat="OK", lon=0.027777, lat=0.036110]
Use mPix2Coord online using onworks.net services