summaryrefslogtreecommitdiff
path: root/lib/stwcs/wcsutil/hstwcs.py
diff options
context:
space:
mode:
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 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