Travis Oliphant wrote: > Peter Wuertz wrote: >> Hi, >> >> I'm writing a C module for python, that accesses a special usb camera. >> This module is supposed to provide python with data (alot of data). >> Then SciPy is used to fit the data. >> > > Which version of scipy are you using?
I'm using ubuntu edgy eft, which ships scipy 0.5.2 > How about creating an array directly from your float array using > PyArray_SimpleNewFromData (the NumPy C-API) or PyArray_FromDimsAndData > (the Numeric C-API). Cool thanks, thats exactly what I needed! -- http://mail.python.org/mailman/listinfo/python-list