numpy.memmap advice?
Robert Kern
robert.kern at gmail.com
Tue Feb 17 18:22:09 EST 2009
On 2009-02-17 17:08, Lionel wrote:
> Hello all,
>
> On a previous thread (http://groups.google.com/group/comp.lang.python/
> browse_thread/thread/64da35b811e8f69d/67fa3185798ddd12?
> hl=en&lnk=gst&q=keene#67fa3185798ddd12) I was asking about reading in
> binary data. Briefly, my data consists of complex numbers, 32-bit
> floats for real and imaginary parts. The data is stored as 4 bytes
> Real1, 4 bytes Imaginary1, 4 bytes Real2, 4 bytes Imaginary2, etc. in
> row-major format. I needed to read the data in as two separate numpy
> arrays, one for real values and one for imaginary values.
I don't have time to answer your questions now, so you should ask on the numpy
mailing list where others can jump in.
http://www.scipy.org/Mailing_Lists
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list