ah, I had assumed it was there since it is on:<br><br><a href="http://yt.enzotools.org/doc/advanced/callbacks.html#available-callbacks">http://yt.enzotools.org/doc/advanced/callbacks.html#available-callbacks</a><br><br>!!!<br>
<br>Thanks, I will look into it properly now,<br><br>Libby<br><br><div class="gmail_quote">2010/1/4 Stephen Skory <span dir="ltr"><<a href="mailto:stephenskory@yahoo.com">stephenskory@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Elizabeth,<br>
<div class="im"><br>
>I want to use the nparticles rather than the particles<br>
>callback so that I only plot PARTICLE_TYPE_MUST_REFINE (4). I am trying<br>
>(full script at end of email):<br>
><br>
>    p.modify["nparticles"](1.0,p_<br>
>size=4.0, col='g', ptype='4')<br>
<br>
<br>
</div>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.<br>
<br>
 _______________________________________________________<br>
<a href="mailto:sskory@physics.ucsd.edu">sskory@physics.ucsd.edu</a>           o__  Stephen Skory<br>
<a href="http://physics.ucsd.edu/%7Esskory/" target="_blank">http://physics.ucsd.edu/~sskory/</a> _.>/ _Graduate Student<br>
________________________________(_)_\(_)_______________<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Elizabeth Harper-Clark MA MSci<br>PhD Candidate, Astrophysics, UofT<br><br><a href="http://www.astro.utoronto.ca/~h-clark">www.astro.utoronto.ca/~h-clark</a><br><a href="mailto:h-clark@cita.utoronto.ca">h-clark@cita.utoronto.ca</a><br>
AIM: edphc1<br>MSN: <a href="mailto:edphc1@hotmail.com">edphc1@hotmail.com</a><br>Skype: eharperclark<br>Office phone: 416-978-5759<br>