The yt-3.0 equivalent using the chunking system looks like this:

http://nbviewer.ipython.org/gist/ngoldbaum/700d2235d24a5faf9d58

On Mon Dec 15 2014 at 12:42:41 PM David Collins <dcollins4096@gmail.com> wrote:
Hi, Everybody-

I have some old code in which I pulled particle ids from grid objects, and I'm porting it to yt3.0.  

My old code used a "cut mask" defined like the following:

for grid in data._grids:
    cut_mask= data._get_cut_mask(grid)

I see that grids is now handled through chunks, is there a modern equivalent of the cut_mask?  Or, is there a new-and-improved method to get particle ids from complex objects?

d.

--
-- Sent from a computer.
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org