Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79255 > unrolled thread
| Started by | Artur Bercik <vbubbly21@gmail.com> |
|---|---|
| First post | 2014-10-18 14:58 +0900 |
| Last post | 2014-10-18 14:58 +0900 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Extract Indices of Numpy Array Based on Given Bit Information Artur Bercik <vbubbly21@gmail.com> - 2014-10-18 14:58 +0900
| From | Artur Bercik <vbubbly21@gmail.com> |
|---|---|
| Date | 2014-10-18 14:58 +0900 |
| Subject | Extract Indices of Numpy Array Based on Given Bit Information |
| Message-ID | <mailman.14955.1413612668.18130.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
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
Back to top | Article view | comp.lang.python
csiph-web