diff options
author | dencheva <dencheva@stsci.edu> | 2008-12-11 11:16:47 -0500 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2008-12-11 11:16:47 -0500 |
commit | d8180f17a14e755c66990baa98f7a593ee8d2ce3 (patch) | |
tree | 517588569c4c0fa7aaf746ba7e18b9dde1833cde /updatewcs/corrections.py | |
parent | f34a2420be51597f75ab4ba06c05ef35ad6a4764 (diff) | |
download | stwcs_hcf-d8180f17a14e755c66990baa98f7a593ee8d2ce3.tar.gz |
Made recording of idcmodel kw to extension header optional
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7364 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'updatewcs/corrections.py')
-rw-r--r-- | updatewcs/corrections.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/updatewcs/corrections.py b/updatewcs/corrections.py index c76e918..61f73e7 100644 --- a/updatewcs/corrections.py +++ b/updatewcs/corrections.py @@ -39,7 +39,9 @@ class TDDCorr(object): ref_wcs.idcmodel.refpix['TDDALPHA'] = alpha ref_wcs.idcmodel.refpix['TDDBETA'] = beta - newkw = {'TDDALPHA': alpha, 'TDDBETA':beta} + newkw = {'TDDALPHA': alpha, 'TDDBETA':beta, '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 newkw updateWCS = classmethod(updateWCS) |