On Mon, May 4, 2015 at 10:21 PM, Jerome Kieffer wrote:
> Hi,
> If you want to play with 10 bits data-blocks, read 5 bytes and work with 4
> entries at a time...
NumPy arrays don't have any support for sub-byte alignment. So if you
want to handle such data, you either need to write some manual
pa
Hi,
If you want to play with 10 bits data-blocks, read 5 bytes and work with 4
entries at a time...
--
Jérôme Kieffer
Data analysis unit - ESRF
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-d
Hi,
I am developping a code to read binary files (MDF, Measurement Data File).
In its previous version 3, data was always byte aligned. I used widely
numpy.core.records module (fromstring, fromfile) showing good
performance to read and unpack data on the fly.
However, in the latest version 4, not