diff options
author | hack <hack@stsci.edu> | 2015-08-31 16:53:54 -0400 |
---|---|---|
committer | hack <hack@stsci.edu> | 2015-08-31 16:53:54 -0400 |
commit | 0ab2d2af3127b0982568a20951c7ae9fc78380d2 (patch) | |
tree | 6196f158e029a3852fef22365310caa663413f32 /lib/stwcs/wcsutil/hstwcs.py | |
parent | 566a9a18ef5db4c66f3905768c30bcfcd0a5974f (diff) | |
download | stwcs_hcf-0ab2d2af3127b0982568a20951c7ae9fc78380d2.tar.gz |
HSTWCS object was updated to read in 3 more keywords written out to the image header by 'updatewcs'; namely, idcv2ref, idcv3ref, idctheta. This will allow for the computation of the 'troll' angle strictly from HSTWCS attributes without having to read in separate information from the header or from the IDCModel.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@44009 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/wcsutil/hstwcs.py')
-rw-r--r-- | lib/stwcs/wcsutil/hstwcs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stwcs/wcsutil/hstwcs.py b/lib/stwcs/wcsutil/hstwcs.py index bda6561..bfebcfc 100644 --- a/lib/stwcs/wcsutil/hstwcs.py +++ b/lib/stwcs/wcsutil/hstwcs.py @@ -188,7 +188,8 @@ class HSTWCS(WCS): """ Reads in first order IDCTAB coefficients if present in the header """ - coeffs = ['ocx10', 'ocx11', 'ocy10', 'ocy11', 'idcscale'] + coeffs = ['ocx10', 'ocx11', 'ocy10', 'ocy11', 'idcscale', + 'idcv2ref','idcv3ref', 'idctheta'] for c in coeffs: self.__setattr__(c, header.get(c, None)) @@ -985,4 +986,3 @@ def determine_refframe(phdr): if refframe == "GSC1": refframe = "FK5" return refframe - |