summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2014-04-29 19:24:45 -0400
committerdencheva <dencheva@stsci.edu>2014-04-29 19:24:45 -0400
commit80b187da718b44907ed490e00d149e11b8085253 (patch)
tree1448071d658aa2617b2d27411610f83ded33954e
parent0f07212642750bafc9013f6fc7d68fb83fd05c32 (diff)
downloadstwcs_hcf-80b187da718b44907ed490e00d149e11b8085253.tar.gz
restore naxis1/2 property
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31253 fe389314-cf27-0410-b35b-8c050e845b92
-rw-r--r--lib/stwcs/wcsutil/hstwcs.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/stwcs/wcsutil/hstwcs.py b/lib/stwcs/wcsutil/hstwcs.py
index 6c22519..53e86cd 100644
--- a/lib/stwcs/wcsutil/hstwcs.py
+++ b/lib/stwcs/wcsutil/hstwcs.py
@@ -164,6 +164,22 @@ class HSTWCS(WCS):
self.setPscale()
self.setOrient()
+ @property
+ def naxis1(self):
+ return self._naxis1
+
+ @naxis1.setter
+ def naxis1(self, value):
+ self._naxis1 = value
+
+ @property
+ def naxis2(self):
+ return self._naxis2
+
+ @naxis2.setter
+ def naxis2(self, value):
+ self._naxis2 = value
+
def readIDCCoeffs(self, header):
"""
Reads in first order IDCTAB coefficients if present in the header