New issue 958: Document detailed cuts on particle chunks https://bitbucket.org/yt_analysis/yt/issue/958/document-detailed-cuts-on-par...
This is a followup on a conversation from the yt-users email list:
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:
#!python 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?
The yt-3.0 equivalent using the chunking system looks like this:
Perhaps a note about this functionality should go in the "Particle Filters" section of the docs? http://yt-project.org/docs/dev/analyzing/filtering.html#filtering-particle-f...
yt-dev mailing list firstname.lastname@example.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org