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
Yes, you're looking for an arbitrary_grid: http://yt-project.org/doc/analyzing/objects.html#arbitrary-grid 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
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-sel... 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
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 <http://pastebin.com/afgcgpp0> 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-sel...
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
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@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@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-sel...
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
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (4)
-
Carla Bernhardt
-
Desika Narayanan
-
Matthew Turk
-
Nathan Goldbaum