Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-18 Thread Frank Thommen
Bruce Southey wrote: [...] It took me a while to track it down, but there used to be a module/file called 'convertcode.py' for conversion. It was mentioned as tip in Travis's 'Guide to Numpy' page 31 in Jan 6 2005 version. But the alter_code path is in Dec 7 2006 (linked at

Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-15 Thread Frank Thommen
Christopher Barker wrote: On 10/14/10 9:46 AM, Frank Thommen wrote: We are speaking of potentially several hundred files. It's part of the scientific work of the user of the last nine years... Let's hope he's got some tests! Yes, we can compare the outputs with the existing results

Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-15 Thread Frank Thommen
Bruce Southey wrote: On 10/14/2010 12:55 PM, Christopher Barker wrote: On 10/14/10 9:46 AM, Frank Thommen wrote: We are speaking of potentially several hundred files. It's part of the scientific work of the user of the last nine years... Let's hope he's got some tests! Which conversion

[Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-14 Thread Frank Thommen
Hi, I'm trying to help a user to migrate from Numeric to numpy. I found reference to alter_code1.py on http://numpy.scipy.org/old_array_packages.html. First I tried the conversion script: # python2.6 /path/to/alter_code1.py test.py and alternatively # python2.6 /path/to/alter_code1.py ./

Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-14 Thread Frank Thommen
Christopher Barker wrote: On 10/14/10 12:20 AM, Frank Thommen wrote: I'm trying to help a user to migrate from Numeric to numpy. I found reference to alter_code1.py on http://numpy.scipy.org/old_array_packages.html. How much code is this? We are speaking of potentially several hundred

[Numpy-discussion] alter_code1.py doesn't convert (any more)?

2010-10-06 Thread Frank Thommen
Hi, I'm trying to help a user to migrate from Numeric - which he used up to now - to numpy. I found reference to alter_code1.py on http://numpy.scipy.org/old_array_packages.html. First I tried the conversion script: # python2.6 /path/to/alter_code1.py test.py and alternatively # python2.6