robert.kern at gmail.com
Wed Feb 18 00:22:09 CET 2009
On 2009-02-17 17:08, Lionel wrote:
> Hello all,
> On a previous thread (http://groups.google.com/group/comp.lang.python/
> 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.
"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