Package pydrizzle :: Module xytosky
[hide private]
[frames] | no frames]

Module xytosky

source code

Functions [hide private]
 
XYtoSky_pars(input, x=None, y=None, coords=None, colnames=None, linear=yes, idckey='IDCTAB', hms=no, output=None, verbose=yes) source code
 
XYtoSky(input, pos, idckey='IDCTAB', linear=yes, verbose=no)
Convert input pixel position(s) into RA/Dec position(s).
source code
Variables [hide private]
  yes = True
  no = False

Imports: string, copy, os, pyfits, N, C, pydrizzle, wcsutil


Function Details [hide private]

XYtoSky(input, pos, idckey='IDCTAB', linear=yes, verbose=no)

source code 
Convert input pixel position(s) into RA/Dec position(s).
Output will be either an (ra,dec) pair or a 'list' of (ra,dec)
pairs, not a numarray, to correspond with the input position(s).

Parameter:
    input - Filename with extension specification of image
    pos   - Either a single [x,y] pair or a list of [x,y] pairs.
    idckey - Keyword which points to the IDC table to be used.
    linear - If no, apply distortion correction for image.