ah, I had assumed it was there since it is on:

http://yt.enzotools.org/doc/advanced/callbacks.html#available-callbacks

!!!

Thanks, I will look into it properly now,

Libby

2010/1/4 Stephen Skory <stephenskory@yahoo.com>
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@physics.ucsd.edu           o__  Stephen Skory
http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
________________________________(_)_\(_)_______________
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



--
Elizabeth Harper-Clark MA MSci
PhD Candidate, Astrophysics, UofT

www.astro.utoronto.ca/~h-clark
h-clark@cita.utoronto.ca
AIM: edphc1
MSN: edphc1@hotmail.com
Skype: eharperclark
Office phone: 416-978-5759