summaryrefslogtreecommitdiff
path: root/updatewcs/corrections.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2008-12-16 10:57:48 -0500
committerdencheva <dencheva@stsci.edu>2008-12-16 10:57:48 -0500
commit138b356640950d751f92570ba58a8ebc2ca6667e (patch)
tree1721e5d5693cb8db961c0dce9243f0e4b157647e /updatewcs/corrections.py
parentd8180f17a14e755c66990baa98f7a593ee8d2ce3 (diff)
downloadstwcs_hcf-138b356640950d751f92570ba58a8ebc2ca6667e.tar.gz
-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
Diffstat (limited to 'updatewcs/corrections.py')
-rw-r--r--updatewcs/corrections.py8
1 files changed, 4 insertions, 4 deletions
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)