<div dir="ltr">Hi Rick,<div><br></div><div>I haven't tried it, but I think you can do this with a particle filter:</div><div><br></div><div><a href="http://yt-project.org/docs/dev/analyzing/filtering.html?highlight=particle_filter#filtering-particle-fields">http://yt-project.org/docs/dev/analyzing/filtering.html?highlight=particle_filter#filtering-particle-fields</a><br></div><div><br></div><div>Here your particle filter will need select only particles with ID < 0.  I'm not sure what the ramses particle ID field is named, but you'll need to use that.</div><div><br></div><div>Then, when you call annotate_particles, you'll need to pass the name of your new particle filter as the "ptype" keyword argument.</div><div><br></div><div>Hope that's clear, let me know if you get stuck and need a worked out example.</div><div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 14, 2015 at 9:03 PM, Rick Sarmento <span dir="ltr"><<a href="mailto:rsarment@asu.edu" target="_blank">rsarment@asu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">So I’m trying to “p.annotate_particles” with RAMSES star particles (over a temperature projection plot) …. But everything in RAMSES is a particle, so when I do <div><br></div><div>p.annotate_particles</div><div><br></div><div>I end up with a solid black plot… How do I tell annotate_particles to just use the particles with ID < 0 (these are the star particles)??</div><div><br></div><div>Thx!</div><div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="font-size:15px"><i>Cheers,</i></div><div style="font-size:15px"><i><br></i></div><div style="font-size:15px"><i>Rick Sarmento</i></div><div><a href="mailto:earnric@gmail.com" target="_blank">earnric@gmail.com</a></div></div></div></div>
</div>
<br></div></div><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>
<br></blockquote></div><br></div>