diff options
author | hack <hack@stsci.edu> | 2011-02-22 15:31:05 -0500 |
---|---|---|
committer | hack <hack@stsci.edu> | 2011-02-22 15:31:05 -0500 |
commit | 0529fe7fede22b0f6978e430dff51eb5fd4346b7 (patch) | |
tree | c08be922ab834a3b420d728c5b75c42f85a57d6d /wcsutil/hstwcs.py | |
parent | 4a4d91c3b385424a717a0b0ab3c4a4efc3901b14 (diff) | |
download | stwcs_hcf-0529fe7fede22b0f6978e430dff51eb5fd4346b7.tar.gz |
Fixed(?) circular import introduced into the HSTWCS module.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12005 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'wcsutil/hstwcs.py')
-rw-r--r-- | wcsutil/hstwcs.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wcsutil/hstwcs.py b/wcsutil/hstwcs.py index 1d38f42..122a0ba 100644 --- a/wcsutil/hstwcs.py +++ b/wcsutil/hstwcs.py @@ -4,7 +4,7 @@ import os.path from pywcs import WCS import pyfits import instruments -from stwcs.distortion import models, coeff_converter, utils +from stwcs.distortion import models, coeff_converter import altwcs import numpy as np from pytools import fileutil @@ -327,6 +327,8 @@ class HSTWCS(WCS): defined the algorithm for this implementation """ + from stwcs.distortion import utils + # Define some output arrays xout = np.zeros(len(ra),dtype=np.float64) yout = np.zeros(len(ra),dtype=np.float64) |