summaryrefslogtreecommitdiff
path: root/lib/stwcs/wcsutil/hstwcs.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2014-04-24 15:28:34 -0400
committerdencheva <dencheva@stsci.edu>2014-04-24 15:28:34 -0400
commitd7256629cc01af99cb5e3be70a64000f6d2fb0dc (patch)
tree659e429c5f8a088044f1bd8e8f48ecbf0ee21c34 /lib/stwcs/wcsutil/hstwcs.py
parent63e6e5aa0d7ebca70489d03573bb122bfb11c788 (diff)
downloadstwcs_hcf-d7256629cc01af99cb5e3be70a64000f6d2fb0dc.tar.gz
port changes from astropy.wcs - naxis1/2 are private now.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31128 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/wcsutil/hstwcs.py')
-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 f48741d..36e1de4 100644
--- a/lib/stwcs/wcsutil/hstwcs.py
+++ b/lib/stwcs/wcsutil/hstwcs.py
@@ -162,6 +162,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