Hi All,

A follow-up question: In using arbitrary_grid (but with enzo data), how does one then extract a field of an arbitrary_grid? I tried arbgrid["density"] as I have done with a smoothed_covering_grid object, but it does not work (here is the traceback I got).

Thanks,
Carla

2016-02-23 17:21 GMT+01:00 Matthew Turk <matthewturk@gmail.com>:
Hi Desika,

Yup, this can be done reasonably easily using either the
.arbitrary_grid object (which was designed for this) or the interface
to the arbitrary grid that's in the development version, which is
ds.r[ ... ] where the ... is some combination of bounds and steps.

http://yt-project.org/docs/dev/analyzing/objects.html#arbitrary-grid
http://yt-project.org/docs/dev/analyzing/objects.html#slicing-syntax-for-selecting-data

On Tue, Feb 23, 2016 at 10:18 AM, Desika Narayanan
<desika.narayanan@gmail.com> wrote:
> Hi All,
>
> Is it possible to deposit the particles from a gadget data set onto a
> uniform grid in yt?  Or, could it be possible to trick the octree deposition
> into doing it by forcing no refinements, but some sort of native grid
> resolution?
>
> thanks,
> desika
>
>
> _______________________________________________
> yt-users mailing list
> yt-users@lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org