summaryrefslogtreecommitdiff
path: root/stwcs/__init__.py
diff options
context:
space:
mode:
authorNadia Dencheva <nadia.astropy@gmail.com>2016-08-07 12:23:24 -0400
committerGitHub <noreply@github.com>2016-08-07 12:23:24 -0400
commita2e16e39b0eb8ac0251a6473c60fee0d437c3a5f (patch)
tree7b6771e9c1974852eb8a283507677651078ce32a /stwcs/__init__.py
parent86d1bc5a77491770d45b86e5cf18b79ded68fb9b (diff)
parent2dc0676bc00f66a87737e78484876051633b731a (diff)
downloadstwcs_hcf-a2e16e39b0eb8ac0251a6473c60fee0d437c3a5f.tar.gz
Merge pull request #9 from nden/refactor-and-tests
restructure and add stwcs tests
Diffstat (limited to 'stwcs/__init__.py')
-rw-r--r--stwcs/__init__.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/stwcs/__init__.py b/stwcs/__init__.py
new file mode 100644
index 0000000..cd8b0e6
--- /dev/null
+++ b/stwcs/__init__.py
@@ -0,0 +1,32 @@
+""" 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
+transformation. wcsutil also provides functions for manipulating alternate WCS
+descriptions in the headers.
+
+"""
+from __future__ import absolute_import, print_function # confidence high
+import os
+
+from . import distortion
+from stsci.tools import fileutil
+from stsci.tools import teal
+
+
+from .version import *
+
+try:
+ from . import gui
+ teal.print_tasknames(gui.__name__, os.path.dirname(gui.__file__))
+ print('\n')
+except:
+ print('No TEAL-based tasks available for this package!')