From d93a10017d62f39d80167b45c1044a5e113f5994 Mon Sep 17 00:00:00 2001 From: embray Date: Wed, 22 Jun 2011 23:24:07 +0000 Subject: Redoing the r13221-13223 merge in the actual trunk now. This updates trunk to the setup_refactoring branch (however, coords, pysynphot, and pywcs are still being pulled from the astrolib setup_refactoring branch. Will have to do that separately then update the svn:externals) git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13225 fe389314-cf27-0410-b35b-8c050e845b92 --- lib/stwcs/__init__.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 lib/stwcs/__init__.py (limited to 'lib/stwcs/__init__.py') diff --git a/lib/stwcs/__init__.py b/lib/stwcs/__init__.py new file mode 100644 index 0000000..a32f8b9 --- /dev/null +++ b/lib/stwcs/__init__.py @@ -0,0 +1,29 @@ +""" STWCS + +This package provides support for WCS based distortion models and coordinate +transformation. It relies on PyWCS (based on WCSLIB). It consists of two subpackages: +updatewcs and wcsutil. Updatewcs performs corrections to the basic WCS and includes +other distortion infomation in the science files as header keywords or file extensions. +Wcsutil provides an HSTWCS object which extends pywcs.WCS object and provides HST instrument +specific information as well as methods for coordinate tarnsformaiton. Wcsutil also provides +functions for manipulating alternate WCS descriptions in the headers. + +""" +from __future__ import division # confidence high + +import distortion +import pywcs +from stsci.tools import fileutil + +__docformat__ = 'restructuredtext' + +DEGTORAD = fileutil.DEGTORAD +RADTODEG = fileutil.RADTODEG + +__version__ = '0.8' + +try: + import svn_version + __svn_version__ = svn_version.__svn_version__ +except ImportError: + __svn_version__ = 'Unable to determine SVN revision' \ No newline at end of file -- cgit