From 138b356640950d751f92570ba58a8ebc2ca6667e Mon Sep 17 00:00:00 2001 From: dencheva Date: Tue, 16 Dec 2008 15:57:48 +0000 Subject: -Added SIP correction to look up tables -Changed CTYPE to reflect the use of SIP - mappings module was moved to wcsutil git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7381 fe389314-cf27-0410-b35b-8c050e845b92 --- updatewcs/corrections.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'updatewcs/corrections.py') diff --git a/updatewcs/corrections.py b/updatewcs/corrections.py index 61f73e7..15fd106 100644 --- a/updatewcs/corrections.py +++ b/updatewcs/corrections.py @@ -19,9 +19,9 @@ class TDDCorr(object): Solution of the WFC :Parameters: - `owcs`: HSTWCS object + `ext_wcs`: HSTWCS object An extension HSTWCS object to be modified - `refwcs`: HSTWCS object + `ref_wcs`: HSTWCS object A reference HSTWCS object """ @@ -141,8 +141,8 @@ class CompSIP(object): Bkey="B_%d_%d" % (m,n-m) kw2update[Akey] = sipval[0,0] kw2update[Bkey] = sipval[1,0] - #kw2update['CTYPE1'] = 'RA---TAN-SIP' - #kw2update['CTYPE2'] = 'DEC--TAN-SIP' + kw2update['CTYPE1'] = 'RA---TAN-SIP' + kw2update['CTYPE2'] = 'DEC--TAN-SIP' return kw2update updateWCS = classmethod(updateWCS) -- cgit