[yt-users] Extracting a list of star particles, their positions and masses from enzo
Nathan Goldbaum
nathan12343 at gmail.com
Tue Mar 14 08:00:21 PDT 2017
Hi Carla,
Can you share the script you're running and the full error message and
traceback you're seeing? If you can, it helps if you can make your script
that triggers your issue as minimal as possible.
We have the yt pastebin set up for sharing snippets of code and text:
paste.yt-project.org.
-Nathan
On Tue, Mar 14, 2017 at 2:30 AM, Carla Bernhardt <
carla.j.bernhardt at gmail.com> wrote:
> Dear yt users,
>
> I am trying to extract a list of star particles and their positions and
> masses from enzo. This seems to be right along the lines of this tutorial
> <http://yt-project.org/doc/analyzing/fields.html>, but I am still stuck.
> If I try
>
> print(ad["dark_matter", "particle_position"])
> print(ad["stars", "particle_position"])
> print(ad["black_holes", "particle_position"])
>
> I get that none of these fields are available in my provided data. I am
> using Stochastic Star Formation with a MBH inserted (i.e.
> StarParticleCreation=514).
>
> Thanks in advance,
> Carla Bernhardt
> PhD Student
> Universität Heidelberg
> ZAH Institut für Theoretische Astrophysik
>
>
> _______________________________________________
> 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/20170314/8518edb8/attachment.html>
More information about the yt-users
mailing list