diff options
author | dencheva <dencheva@stsci.edu> | 2014-04-29 19:24:45 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2014-04-29 19:24:45 -0400 |
commit | 80b187da718b44907ed490e00d149e11b8085253 (patch) | |
tree | 1448071d658aa2617b2d27411610f83ded33954e | |
parent | 0f07212642750bafc9013f6fc7d68fb83fd05c32 (diff) | |
download | stwcs_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.py | 16 |
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 |