From 0ab2d2af3127b0982568a20951c7ae9fc78380d2 Mon Sep 17 00:00:00 2001 From: hack Date: Mon, 31 Aug 2015 20:53:54 +0000 Subject: 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 --- lib/stwcs/wcsutil/hstwcs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/stwcs/wcsutil/hstwcs.py') 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 - -- cgit