From 6d99b7ab0a8b374df23294272d8dcc5887540a53 Mon Sep 17 00:00:00 2001 From: dencheva Date: Wed, 23 Dec 2009 15:21:21 +0000 Subject: Use 'import numpy as np' and a fix to a header comment git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8518 fe389314-cf27-0410-b35b-8c050e845b92 --- updatewcs/dgeo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'updatewcs/dgeo.py') diff --git a/updatewcs/dgeo.py b/updatewcs/dgeo.py index bed3191..11562ef 100644 --- a/updatewcs/dgeo.py +++ b/updatewcs/dgeo.py @@ -130,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 + 1), + comments = {cperror: 'Maximum error of dgeo correction for axis %s' % j, cpdis: 'Prior distortion funcion type', dpext: 'Version number of WCSDVARR extension containing lookup distortion table', dpnaxes: 'Number of independent variables in distortion function', -- cgit