[yt-users] Particle Density Projection for Flash Data

Yuan Li bear0980 at gmail.com
Wed Nov 5 11:53:37 PST 2014


Hi Matt,

dd['deposit', 'all_density'] gives the same error message. I have reported
the bug on bitbucket.

John, no worries! I happened to have tried to make this plot first (and
therefore freaked out), but actually everything else with the particles
seems to work nicely, haha!

Thanks!
Yuan

On Wed, Nov 5, 2014 at 2:38 PM, Matthew Turk <matthewturk at gmail.com> wrote:

> Hi Yuan,
>
> Can you give a shot with "all_density" instead of "io_density"?  This
> looks like a bug, but that should fix it for now.  And, can you file this
> as a bug?
>
> -Matt
>
> On Wed Nov 05 2014 at 1:37:13 PM Yuan Li <yuan at astro.columbia.edu> wrote:
>
>> Dear all,
>>
>> I have just started using yt3 and would like to display particle
>> densities in a projection plot.
>>
>> It seems that for Enzo data, I can use ('deposit', 'io_density'). With
>> Flash data, however, dd['deposit', 'io_density'] will give me an error
>> message:
>> KeyError: "Unable to open object (Object 'particle_posy' doesn't exist)"
>>
>> I have checked and the particles are there. dd['io', 'particle_posy']
>> does return the particle y positions, so I am confused. Are there other
>> ways of projecting particle densities for Flash data?
>>
>>
>> Thank you!
>> Yuan
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141105/2332b4be/attachment.htm>


More information about the yt-users mailing list