Extract Indices of Numpy Array Based on Given Bit Information
Artur Bercik
vbubbly21 at gmail.com
Sat Oct 18 01:58:02 EDT 2014
Dear Python and Numpy Users:
My data are in the form of '32-bit unsigned integer' as follows:
myData = np.array([1073741824, 1073741877, 1073742657, 1073742709,
1073742723, 1073755137, 1073755189,1073755969],dtype=np.int32)
I want to get the index of my data where the following occurs:
Bit No. 0–1
Bit Combination: 00
How can I do it? I heard this type of problem first time, please help me.
Artur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141018/c083b6be/attachment.html>
More information about the Python-list
mailing list