On Thu, Jun 22, 2006 at 11:04:46PM +0100, James Graham wrote:
> James Graham wrote:
> >David Douard wrote:
> >
> >>Now, my question:
> >>do you plan to do the transition toward numpy, since Numeric and
> >>numarray should no longer be developped any more (but for very critical
> >>bugs)? 
> >
> >I think this should be relatively painless. It's certainly something 
> >that I could have a go at at some point.
> 
> OK so there's a _experimental_ version of this available at 
> http://www-xray.ast.cam.ac.uk/~jgraham/files/veusz-numpy.tar.bz2 The 
> contour module refuses to load for some as yet undetermined reason. The 
> code has only been lightly modified/tested (in particular I haven't been 
> through line by line to check for numarray/numpy differences - I've 
> mainly just converted the constructors and then looked for breakage. Oh 
> and it probably won't work against the latest svn numpy because I 
> haven't changed all the typecodes to use all lowercase. However, with 
> these provisos, it _does_ seem to work with NumPy 0.9.8.
> 

Nice.
On my side, I've spent some time to do a simiar job (in the train in
which I spend 2 hours a day), but with the SVN version of numpy. I've
done the job the quick'n dirty way (no deep testing, and so), but I plan
to do a cleaner refactoring allowing to choose at install time which
numeric module is used (the way matplotlib does) by Veusz.

I've also added a small functionality to Veusz: the ability to revert an
axe (if I want to have increasing values for x from right to left). It's
something I will need in a small project I have in mind (a tool that
help to compute the load curve for a push-pull valve amplifier).

Do you want me to send the patches I produce ? 

David


-- 
David Douard                             LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian : http://www.logilab.fr/formations
Développement logiciel sur mesure :      http://www.logilab.fr/services
Informatique scientifique :              http://www.logilab.fr/science

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à