[yt-users] Plotting particles only above a certain mass

Matthew Turk matthewturk at gmail.com
Sun May 23 14:00:12 PDT 2010


Hi Libby,

I've added a minimum_mass argument in r1729 to trunk for the
"particles" callback.  It expects it to be in Msun, but otherwise
should do what you want.  :)  Let me know if this doesn't work out!

-Matt

On Sun, May 23, 2010 at 1:45 PM, Elizabeth Harper-Clark
<h-clark at astro.utoronto.ca> wrote:
> Dear wonderful YT genii,
>
> Within the star particle routine I am using, when star particles merge they
> are kept and have mass set to tiny_mass rather than being deleted. This
> makes keeping track of specific particles easier but makes plotting harder.
> Does anyone have any good ideas for how to modify or create a new
> p.modify["particles"] that will only plot particles above a certain mass?
>
> many thanks,
>
> Libby
>
> --
> Elizabeth Harper-Clark MA MSci
> PhD Candidate, Astrophysics, UofT
>
> www.astro.utoronto.ca/~h-clark
> h-clark at cita.utoronto.ca
> AIM: edphc1
> MSN: edphc1 at hotmail.com
> Skype: eharperclark
> Office phone: 416-978-5759
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>



More information about the yt-users mailing list