Hi everyone,

I need to use a bitwise array, and I wanted to check what is the common 
practice using numpy.

I expect to read binary strings (like '0011000001') of equal length from file 
and to save and manipulate them using numpy. I know that numpy have good 
implementations of bitwise operations, but I was wondering how to encode the 
data in the first place. As a Python long? As an int ndarray? Which int type? 
How to save and load such data in such a way that when I load it the 
information that it is a bit array is stored?


Any help would be appreciated.


Regards,

Muhammad Alkarouri


      
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to