[visionegg] Re: numpy and VisionEgg.Textures
- From: Andrew Straw <astraw@xxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Tue, 17 Apr 2007 19:20:59 -0700
Martin Spacek wrote:
> Hello,
>
> I'm in the midst of overhauling our stimulus system (based on
> VisionEgg). I've dumped Numeric and numarray and I'm exclusively using
> numpy now. Andrew, you added support for numarray to Textures.py a
> couple of years ago. I've made a couple of changes that now add numpy
> support as well. It's not thoroughly tested, but so far it seems to
> work. Here's a patch against the latest svn (1385). It mostly involved
> substituting Numeric/numarray's typecode() call with numpy's dtype
> attrib.
>
Martin,
You beat me to it! Thanks for the patch. Applied as svn 1386 (where I
wrongly credit Mark Halko, as in my previous email -- very sorry! I've
corrected this in CHANGELOG.txt for svn 1388.)
> Out of curiosity, are there any plans to move VisionEgg wholesale away
> from Numeric/numarray to numpy?
I have plans (with no implementation timeline...) to move all array
processing to numpy but support Numeric and numarray arrays through the
use of numpy.asarray().
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- References:
- [visionegg] numpy and VisionEgg.Textures
- From: Martin Spacek
Other related posts:
- » [visionegg] numpy and VisionEgg.Textures
- » [visionegg] Re: numpy and VisionEgg.Textures
- [visionegg] numpy and VisionEgg.Textures
- From: Martin Spacek