diff options
author | dencheva <dencheva@stsci.edu> | 2009-12-23 09:50:14 -0500 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2009-12-23 09:50:14 -0500 |
commit | 2f294bfefb6316ee52c5621353e5a654504df698 (patch) | |
tree | 156c74f6e9c4c726b3e62974f9e96f0bd2933fc9 /updatewcs/dgeo.py | |
parent | c5cafea89ac4ff504ac85b72200e56b027a23e09 (diff) | |
download | stwcs_hcf-2f294bfefb6316ee52c5621353e5a654504df698.tar.gz |
'from __future__ import division' changes
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8517 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'updatewcs/dgeo.py')
-rw-r--r-- | updatewcs/dgeo.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/updatewcs/dgeo.py b/updatewcs/dgeo.py index 9242a11..bed3191 100644 --- a/updatewcs/dgeo.py +++ b/updatewcs/dgeo.py @@ -1,3 +1,5 @@ +from __future__ import division # confidence high + import pyfits from pytools import fileutil from stwcs import utils @@ -128,7 +130,7 @@ class DGEOCorr(object): values = {cperror: 0.0, cpdis: 'Lookup', dpext: wdvarr_ver, dpnaxes: 2, dpaxis1: 1, dpaxis2: 2} - comments = {cperror: 'Maximum error of dgeo correction for axis %s' % (wdvarr_ver/2), + comments = {cperror: 'Maximum error of dgeo correction for axis %s' % (wdvarr_ver//2 + 1), cpdis: 'Prior distortion funcion type', dpext: 'Version number of WCSDVARR extension containing lookup distortion table', dpnaxes: 'Number of independent variables in distortion function', |