[yt-users] Particle profiles
Christine Simpson
csimpson at astro.columbia.edu
Mon Oct 25 17:39:59 PDT 2010
I believe you can use the field "Dark_Matter_Density" with
add_profile_sphere, i.e.:
pc.add_profile_sphere(25.0, "kpc",["RadiusMpc", "Dark_Matter_Density"],
x_bounds = (4e-4, 0.025))
Christine
On Mon, 2010-10-25 at 20:27 -0400, Elizabeth Tasker wrote:
> Hi,
>
> I'd like to plot dark matter particle density as a function of radius
> for my particle-only simulation. Can I use add_profile_sphere, but for
> particles rather than gas? I only have a single halo and I know the halo
> it's centred in the middle of my box (or it better be, since I put it
> there!).
>
> Is this possible?
>
> Thanks,
>
> Elizabeth
> _______________________________________________
> 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