From 8293fd263fa47cedbf7063192f6c37f127b6bc7d Mon Sep 17 00:00:00 2001 From: dencheva Date: Fri, 19 Aug 2011 19:24:02 +0000 Subject: update the values of the idctab coefficients in the SCi extension header when the coefficients are shifted in subarray mode git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13646 fe389314-cf27-0410-b35b-8c050e845b92 --- lib/stwcs/updatewcs/makewcs.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/stwcs/updatewcs/makewcs.py') diff --git a/lib/stwcs/updatewcs/makewcs.py b/lib/stwcs/updatewcs/makewcs.py index 0946b26..e422a4a 100644 --- a/lib/stwcs/updatewcs/makewcs.py +++ b/lib/stwcs/updatewcs/makewcs.py @@ -57,6 +57,10 @@ class MakeWCS(object): 'CRPIX1': ext_wcs.wcs.crpix[0], 'CRPIX2': ext_wcs.wcs.crpix[1], 'IDCTAB': ext_wcs.idctab, + 'OCX10' : ext_wcs.idcmodel.cx[1,0], + 'OCX11' : ext_wcs.idcmodel.cx[1,1], + 'OCY10' : ext_wcs.idcmodel.cy[1,0], + 'OCY11' : ext_wcs.idcmodel.cy[1,1] } return kw2update -- cgit