[yt-users] DM particles or baryon density field ?

Agarwal, Shankar sagarwal at ku.edu
Mon Mar 22 09:27:07 PDT 2010


Hi,

The projection, slice, velocity and overplot particles routines: They read the DM particles or gas ?

Looking at the density legend, it looks like this is baryon density field.

Is there a provision to plot projection and slice for DM ?


Also, I get this error when overplotting particles...

yt         INFO       2010-03-22 12:17:44,051 Created plot collection with default plot-center = [0.5, 0.5, 0.5]
yt         INFO       2010-03-22 12:17:44,144 Getting the binary hierarchy
yt         INFO       2010-03-22 12:17:44,153 Finished with binary hierarchy reading
yt         INFO       2010-03-22 12:17:46,108 Added slice of Density at x = 0.5 with 'center' = [0.5, 0.5, 0.5]
Traceback (most recent call last):
  File "slice.py", line 42, in <module>
    p.modify["nparticles"](0.005)
  File "/autohome/u118/agarwa23/yt-x86_64/src/yt-1.6/yt/raven/PlotTypes.py", line 52, in __getitem__
    raise KeyError(item)
KeyError: 'nparticles'



Shankar



More information about the yt-users mailing list