Hi,

I have a large binary data set that has 4-bit integers in it.  It is
possible to create a numpy dtype for a 4-bit integer?
I can read the data fine using np.fromfile with a dtype of byte, but to get
the 4-bit ints out I have to bit twiddle which
is a pain.

Cheers,

Brian
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to