diff options
author | dencheva <dencheva@stsci.edu> | 2009-04-24 16:51:58 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2009-04-24 16:51:58 -0400 |
commit | 2d6661ce6b4fcdf9815bc03c14eeef496d7eab69 (patch) | |
tree | 15e6f6c695598e19eac4d97537e97da5d722a2cf | |
parent | 43e08da74ed34236e79493c3cbc9a991cdfc8ae1 (diff) | |
download | stwcs_hcf-2d6661ce6b4fcdf9815bc03c14eeef496d7eab69.tar.gz |
Fixed a problem with formatting input
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7946 fe389314-cf27-0410-b35b-8c050e845b92
-rw-r--r-- | wcsutil/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wcsutil/__init__.py b/wcsutil/__init__.py index b76f633..cdc847d 100644 --- a/wcsutil/__init__.py +++ b/wcsutil/__init__.py @@ -336,8 +336,8 @@ class HSTWCS(WCS): img = d2im_wcs.p4_pix2foc(xy,origin) - return [img[:, i] for i in range(img.shape[1])] - + return np.asarray([img[:, i] for i in range(img.shape[1])]).T + def get_d2im_lookup(self): """ Create a paper IV type lookup table from a reference file |