diff options
author | Nadia Dencheva <nadia.dencheva@gmail.com> | 2016-08-10 17:39:25 -0400 |
---|---|---|
committer | Nadia Dencheva <nadia.dencheva@gmail.com> | 2016-08-10 17:39:25 -0400 |
commit | 40b2c248505f2dbf707912b12d4fac3d4e5f25f0 (patch) | |
tree | 9e4026d2e4f524cdfb3c9bac148baf4086db33a2 /stwcs/wcsutil/hstwcs.py | |
parent | af56b9ad582ac0fe25ef7e941fbec4309906f7f5 (diff) | |
download | stwcs_hcf-40b2c248505f2dbf707912b12d4fac3d4e5f25f0.tar.gz |
fix failing tests
Diffstat (limited to 'stwcs/wcsutil/hstwcs.py')
-rw-r--r-- | stwcs/wcsutil/hstwcs.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/stwcs/wcsutil/hstwcs.py b/stwcs/wcsutil/hstwcs.py index 81e1432..27f6467 100644 --- a/stwcs/wcsutil/hstwcs.py +++ b/stwcs/wcsutil/hstwcs.py @@ -3,15 +3,17 @@ from __future__ import absolute_import, division, print_function import os from astropy.wcs import WCS from astropy.io import fits -from stwcs.distortion import models, coeff_converter +from ..distortion import models, coeff_converter import numpy as np from stsci.tools import fileutil -from . import altwcs +from . import pc2cd from . import getinput from . import instruments from .mappings import inst_mappings, ins_spec_kw +__all__ = ['HSTWCS'] + def extract_rootname(kwvalue, suffix=""): """ Returns the rootname from a full reference filename @@ -384,7 +386,7 @@ class HSTWCS(WCS): if not wcskey: wcskey = self.wcs.alt if self.wcs.has_cd(): - h = altwcs.pc2cd(h, key=wcskey) + h = pc2cd(h, key=wcskey) if 'wcsname' not in h: if self.idctab is not None: |