On Feb 5, 11:51 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 5, 3:35 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 5, 2:56 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 5, 2:48 pm, MRAB goo...@mrabarnett.plus.com wrote:
Lionel wrote:
Hello,
I have data stored in
You might also want to have a look at a numpy memmap viewed as a
recarray.
from numpy import dtype, memmap, recarray
# Define your record in the file, 4bytes for the real value,
# and 4 bytes for the imaginary (assuming Little Endian repr)
descriptor = dtype([(r, f4), (i, f4)])
# Now typecast a
Hello,
I have data stored in binary files. Some of these files are
huge...upwards of 2 gigs or more. They consist of 32-bit float complex
numbers where the first 32 bits of the file is the real component, the
second 32bits is the imaginary, the 3rd 32-bits is the real component
of the second
On Feb 5, 2:22 pm, Lionel lionel.ke...@gmail.com wrote:
Hello,
I have data stored in binary files. Some of these files are
huge...upwards of 2 gigs or more. They consist of 32-bit float complex
numbers where the first 32 bits of the file is the real component, the
second 32bits is the
Lionel wrote:
Hello,
I have data stored in binary files. Some of these files are
huge...upwards of 2 gigs or more. They consist of 32-bit float complex
numbers where the first 32 bits of the file is the real component, the
second 32bits is the imaginary, the 3rd 32-bits is the real component
On Feb 5, 2:48 pm, MRAB goo...@mrabarnett.plus.com wrote:
Lionel wrote:
Hello,
I have data stored in binary files. Some of these files are
huge...upwards of 2 gigs or more. They consist of 32-bit float complex
numbers where the first 32 bits of the file is the real component, the
On Feb 5, 2:56 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 5, 2:48 pm, MRAB goo...@mrabarnett.plus.com wrote:
Lionel wrote:
Hello,
I have data stored in binary files. Some of these files are
huge...upwards of 2 gigs or more. They consist of 32-bit float complex
numbers
On Feb 5, 3:35 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 5, 2:56 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 5, 2:48 pm, MRAB goo...@mrabarnett.plus.com wrote:
Lionel wrote:
Hello,
I have data stored in binary files. Some of these files are
huge...upwards of 2