Hi,

> Here
>  
> http://code.google.com/p/pylibtiff/source/browse/#svn%2Ftrunk%2Flibtiff%2Fbitarray-0.3.5-numpy
> 
> you can find bitarray with numpy support.
> 

Thanks, that looks promising - to get a numpy array, I need to do

numpy.array(bitarray.bitarray(numpy.binary_repr(i, l)))

for an integer i and l with i < 2**l, right?

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

Reply via email to