diff options
author | dencheva <dencheva@stsci.edu> | 2008-12-16 10:57:48 -0500 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2008-12-16 10:57:48 -0500 |
commit | 138b356640950d751f92570ba58a8ebc2ca6667e (patch) | |
tree | 1721e5d5693cb8db961c0dce9243f0e4b157647e /updatewcs/corrections.py | |
parent | d8180f17a14e755c66990baa98f7a593ee8d2ce3 (diff) | |
download | stwcs_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.py | 8 |
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) |