[yt-users] gadget onto unigrid

Matthew Turk matthewturk at gmail.com
Tue Mar 29 06:57:08 PDT 2016


Hi Carla,

This functionality was recently implemented and is in the development
version, but not yet in the stable.  We're hoping for a release very
shortly, but you can also try the dev version if you'd like!

-Matt

On Tue, Mar 29, 2016 at 8:55 AM, Carla Bernhardt
<carla.j.bernhardt at gmail.com> wrote:
> 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 at 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 at 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 at lists.spacepope.org
>> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>> >
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
>
> _______________________________________________
> 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