[Numpy-discussion] SWIG for 3D array

Gennan Chen gnchen at cortechs.net
Wed Apr 26 06:52:01 EDT 2006


Hi!

I will like to use SWIG to wrap my code. However, it seems the  
current numpy.i only can map 1 and 2D array, but not 3D. Is it  
correct? Or I miss something here.

I don't mind spend some time to do it like scipy.ndimage if numpy.i  
did not support ND arrary. But I am new to write extension to Python.  
And I really have hard time to understand how to deal with reference  
counting issues. Anyone know where I can know a good reference for  
that? Or a simple example in numpy will be appreciated....

Gen-Nan Chen, PhD
Chief Scientist
Research and Development Group
CorTechs Labs Inc (www.cortechs.net)
1020 Prospect St., #304, La Jolla, CA, 92037
Tel: 1-858-459-9700 ext 16
Fax: 1-858-459-9705
Email: gnchen at cortechs.net






More information about the NumPy-Discussion mailing list