From 80b187da718b44907ed490e00d149e11b8085253 Mon Sep 17 00:00:00 2001 From: dencheva Date: Tue, 29 Apr 2014 23:24:45 +0000 Subject: restore naxis1/2 property git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31253 fe389314-cf27-0410-b35b-8c050e845b92 --- lib/stwcs/wcsutil/hstwcs.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'lib/stwcs/wcsutil/hstwcs.py') 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 -- cgit