Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100198

3D numpy array subset

X-Received by 10.66.219.99 with SMTP id pn3mr5481746pac.9.1449671004523; Wed, 09 Dec 2015 06:23:24 -0800 (PST)
X-Received by 10.50.155.101 with SMTP id vv5mr653142igb.8.1449671004439; Wed, 09 Dec 2015 06:23:24 -0800 (PST)
Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!mv3no10808312igc.0!news-out.google.com!l1ni1539igd.0!nntp.google.com!mv3no13812400igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Wed, 9 Dec 2015 06:23:23 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=2.139.178.74; posting-account=E2EIjgoAAADrLzUR7q5GCOjCqk9rd0Wd
NNTP-Posting-Host 2.139.178.74
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <2e1a80e9-cd0a-46b5-a8c0-97f208f71f54@googlegroups.com> (permalink)
Subject 3D numpy array subset
From Heli <hemla21@gmail.com>
Injection-Date Wed, 09 Dec 2015 14:23:24 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:100198

Show key headers only | View raw


Dear all, 

I am reading a dataset from a HDF5 file using h5py. my datasets are 3D. 

Then I will need to check if another 3d numpy array is a subset of this 3D array i am reading from the file.

In general, is there any way to check if two 3d numpy arrays have intersections and if so, get the indices of the intersection area.

By intersection, I exactly mean the intersection definition used in set theory.


Thanks in Advance for your help, 

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

3D numpy array subset Heli <hemla21@gmail.com> - 2015-12-09 06:23 -0800
  Re: 3D numpy array subset Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2015-12-09 20:20 +0000

csiph-web