Home  Trees  Indices  Help 


module for handling World Coordinate Systems (WCS)
(c) 20072012 Matt Hilton
(c) 20132014 Matt Hilton & Steven Boada
This is a higher level interface to some of the routines in PyWCSTools (distributed with astLib). PyWCSTools is a simple SWIG wrapping of WCSTools by Jessica Mink (http://tdcwww.harvard.edu/software/wcstools/). It is intended is to make this interface complete enough such that direct use of PyWCSTools is unnecessary.


WCS This class provides methods for accessing information from the World Coordinate System (WCS) contained in the header of a FITS image. 


dictionary 



bool 
NUMPY_MODE = True If True (default), pixel coordinates accepted/returned by routines such as astWCS.WCS.pix2wcs, astWCS.WCS.wcs2pix have (0, 0) as the origin. 

lconv = locale.localeconv()


Finds the minimum, maximum WCS coords that overlap between wcs1 and wcs2. Returns these coordinates, plus the corresponding pixel coordinates for each wcs. Useful for clipping overlapping region between two images.


NUMPY_MODEIf True (default), pixel coordinates accepted/returned by routines such as astWCS.WCS.pix2wcs, astWCS.WCS.wcs2pix have (0, 0) as the origin. Set to False to make these routines accept/return pixel coords with (1, 1) as the origin (i.e. to match the FITS convention, default behaviour prior to astLib version 0.3.0).

Home  Trees  Indices  Help 

Generated by Epydoc 3.0.1 on Thu Aug 21 20:24:26 2014  http://epydoc.sourceforge.net 