Finding the indices of a cell's neighbors
26 Jul
2013
26 Jul
'13
1:39 p.m.
Hello all, I'm trying to access the density for a cell and its six neighbors (in the x,y,z directions), but I can't figure out how I can get the information for the neighboring cells. The problem is that dd[ 'NumberDensity' ] is a one-dimensional array, and I don't know the original 3d shape of the data, so I can't reshape the array into three dimensions. Is there a way to get the indices of a cell's neighbors? Thanks for any help! Morgan
3899
Age (days ago)
3899
Last active (days ago)
2 comments
3 participants
participants (3)
-
David Collins
-
Matthew Turk
-
Morgan Presley