diff options
author | hack <hack@stsci.edu> | 2011-03-17 16:38:29 -0400 |
---|---|---|
committer | hack <hack@stsci.edu> | 2011-03-17 16:38:29 -0400 |
commit | 3afbaeb4b74e9b8ae6f11ae9ac89640969396be2 (patch) | |
tree | 8dfbd0e820e47443a67209cb69932496f510549c | |
parent | babe7a02499497fbbda9c1a7f1369e3cf24b3003 (diff) | |
download | stwcs_hcf-3afbaeb4b74e9b8ae6f11ae9ac89640969396be2.tar.gz |
Fixed a problem with TDDCorr handling in the 'zero_point_corr()' classmethod in updatewcs.makewcs to allow WFC3 data (at least) process successfully.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12214 fe389314-cf27-0410-b35b-8c050e845b92
-rw-r--r-- | updatewcs/makewcs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/updatewcs/makewcs.py b/updatewcs/makewcs.py index 4037877..ad7c508 100644 --- a/updatewcs/makewcs.py +++ b/updatewcs/makewcs.py @@ -177,7 +177,8 @@ class MakeWCS(object): alpha = hwcs.idcmodel.refpix['TDDALPHA'] beta = hwcs.idcmodel.refpix['TDDBETA'] except KeyError: - v23_corr = np.array([[0., 0.],[0.,0.]]) + alpha = 0.0 + beta = 0.0 tdd = np.array([[beta, alpha], [alpha, -beta]]) mrotp = fileutil.buildRotMatrix(2.234529)/2048. |