summaryrefslogtreecommitdiff
path: root/stwcs
diff options
context:
space:
mode:
authorNadia Dencheva <nadia.astropy@gmail.com>2017-05-20 07:36:49 -0400
committerGitHub <noreply@github.com>2017-05-20 07:36:49 -0400
commit89cb57b2c6cf6fda227e882c77e505fcb5add46e (patch)
tree28a65e27001dd6c71b392a816b04ea13a6f9b902 /stwcs
parent461677fe818aaa14f46f21ef933fef2fa03c82e6 (diff)
parentce4cbb2b97a31c398cce7ea1687439971594f493 (diff)
downloadstwcs_hcf-master.tar.gz
Merge pull request #34 from jdavies-st/printHEAD1.3.2master
Remove print statement on package import when TEAL tasknames not found
Diffstat (limited to 'stwcs')
-rw-r--r--stwcs/__init__.py16
1 files changed, 7 insertions, 9 deletions
diff --git a/stwcs/__init__.py b/stwcs/__init__.py
index cd8b0e6..694c3cc 100644
--- a/stwcs/__init__.py
+++ b/stwcs/__init__.py
@@ -1,15 +1,14 @@
""" 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.
+transformation. It relies on astropy.wcs (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.
+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
+Wcsutil provides an HSTWCS object which extends astropy.wcs.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.
@@ -21,7 +20,6 @@ from . import distortion
from stsci.tools import fileutil
from stsci.tools import teal
-
from .version import *
try:
@@ -29,4 +27,4 @@ try:
teal.print_tasknames(gui.__name__, os.path.dirname(gui.__file__))
print('\n')
except:
- print('No TEAL-based tasks available for this package!')
+ pass