Author: bugman Date: Wed Jan 16 11:30:55 2008 New Revision: 4778 URL: http://svn.gna.org/viewcvs/relax?rev=4778&view=rev Log: Converted the maths_fns.chi2 module from Numeric to numpy. Modified: 1.3/maths_fns/chi2.py Modified: 1.3/maths_fns/chi2.py URL: http://svn.gna.org/viewcvs/relax/1.3/maths_fns/chi2.py?rev=4778&r1=4777&r2=4778&view=diff ============================================================================== --- 1.3/maths_fns/chi2.py (original) +++ 1.3/maths_fns/chi2.py Wed Jan 16 11:30:55 2008 @@ -1,6 +1,6 @@ ############################################################################### # # -# Copyright (C) 2003, 2004 Edward d'Auvergne # +# Copyright (C) 2003, 2004, 2008 Edward d'Auvergne # # # # This file is part of the program relax. # # # @@ -20,9 +20,8 @@ # # ############################################################################### - # Python module imports. -from Numeric import Float64, sum, transpose, zeros +from numpy import sum # Chi-squared value.