diff options
author | dencheva <dencheva@stsci.edu> | 2009-07-27 13:55:37 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2009-07-27 13:55:37 -0400 |
commit | 7d454d26157320effa121b8c57df225a479439e1 (patch) | |
tree | e9acf254e21a4a8a2e0fabc3f82aa21d4c590f36 /updatewcs/dgeo.py | |
parent | f43ea346d157b414db65dac5e458a6396afb5615 (diff) | |
download | stwcs_hcf-7d454d26157320effa121b8c57df225a479439e1.tar.gz |
Removed code related to d2im correction. Changed the type of CDELT to be float.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8162 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'updatewcs/dgeo.py')
-rw-r--r-- | updatewcs/dgeo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/updatewcs/dgeo.py b/updatewcs/dgeo.py index 00178d9..e50725d 100644 --- a/updatewcs/dgeo.py +++ b/updatewcs/dgeo.py @@ -197,8 +197,8 @@ class DGEOCorr(object): extver = dgeo_header['extver'] crpix1 = naxis1/2. crpix2 = naxis2/2. - cdelt1 = sci_naxis1/naxis1 - cdelt2 = sci_naxis2/naxis2 + cdelt1 = float(sci_naxis1)/naxis1 + cdelt2 = float(sci_naxis2)/naxis2 crval1 = sci_crpix1 crval2 = sci_crpix2 keys = ['XTENSION','BITPIX','NAXIS','NAXIS1','NAXIS2', |