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


Groups > comp.lang.python > #100198

3D numpy array subset

Newsgroups comp.lang.python
Date 2015-12-09 06:23 -0800
Message-ID <2e1a80e9-cd0a-46b5-a8c0-97f208f71f54@googlegroups.com> (permalink)
Subject 3D numpy array subset
From Heli <hemla21@gmail.com>

Show all headers | 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