[yt-users] cut mask

Nathan Goldbaum nathan12343 at gmail.com
Mon Dec 15 12:48:41 PST 2014


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 at 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 at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141215/d97ec879/attachment.htm>
-------------- next part --------------
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


More information about the yt-users mailing list