[Numpy-discussion] Mapping of a ring buffer to a numpy array

Daniele Nicolodi daniele@grinta....
Thu Oct 14 10:54:41 CDT 2010


I would like to write (in cython) python bindings for a library that
interfaces with data acquisition hardware trough a kernel driver. Data
can be exchanged with the kernel driver trough a memory mapped ring buffer.

I would like to expose this ring buffer as a numpy array, however I
would like to make the ring buffer wrap around management transparent.
There is a way to instruct numpy to do that?

Thanks. Cheers,

More information about the NumPy-Discussion mailing list