diff options
author | dencheva <dencheva@stsci.edu> | 2014-04-24 15:28:34 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2014-04-24 15:28:34 -0400 |
commit | d7256629cc01af99cb5e3be70a64000f6d2fb0dc (patch) | |
tree | 659e429c5f8a088044f1bd8e8f48ecbf0ee21c34 /lib/stwcs/wcsutil/hstwcs.py | |
parent | 63e6e5aa0d7ebca70489d03573bb122bfb11c788 (diff) | |
download | stwcs_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.py | 16 |
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 |