[yt-users] Callback: nparticles
Stephen Skory
stephenskory at yahoo.com
Mon Jan 4 10:48:59 PST 2010
Elizabeth,
>I want to use the nparticles rather than the particles
>callback so that I only plot PARTICLE_TYPE_MUST_REFINE (4). I am trying
>(full script at end of email):
>
> p.modify["nparticles"](1.0,p_
>size=4.0, col='g', ptype='4')
Have you added a new function to yt/raven/Callbacks.py that does what you want, and that you've named (_type_name = "nparticles") correctly? There is no function currently named that in trunk.
_______________________________________________________
sskory at physics.ucsd.edu o__ Stephen Skory
http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
________________________________(_)_\(_)_______________
More information about the yt-users
mailing list