From 932d650c0f1044861b1c1eea68304728386ca233 Mon Sep 17 00:00:00 2001 From: dencheva Date: Tue, 1 Mar 2011 19:26:10 +0000 Subject: some of the IDC model kw are not used, do not store them in the header. Do not archive ORIENTAT in alternate WCSs but recompute it every time a WCS is restored. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12062 fe389314-cf27-0410-b35b-8c050e845b92 --- wcsutil/hstwcs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wcsutil/hstwcs.py') diff --git a/wcsutil/hstwcs.py b/wcsutil/hstwcs.py index 397c9ae..20db803 100644 --- a/wcsutil/hstwcs.py +++ b/wcsutil/hstwcs.py @@ -416,12 +416,14 @@ class HSTWCS(WCS): ext_hdr.update('OCY10', self.idcmodel.cy[1,0]) ext_hdr.update('OCY11', self.idcmodel.cy[1,1]) ext_hdr.update('IDCSCALE', self.idcmodel.refpix['PSCALE']) + """ ext_hdr.update('IDCTHETA', self.idcmodel.refpix['THETA']) ext_hdr.update('IDCXREF', self.idcmodel.refpix['XREF']) ext_hdr.update('IDCYREF', self.idcmodel.refpix['YREF']) ext_hdr.update('IDCV2REF', self.idcmodel.refpix['V2REF']) ext_hdr.update('IDCV3REF', self.idcmodel.refpix['V3REF']) - + """ + def printwcs(self): """ Print the basic WCS keywords. -- cgit