Thanks Stephen, that worked. Also, generating halos takes some time. I don't want to run it again and again. Is there a way to directly use HopAnalysis.out to plot hop_circles and hop_particles ?
I mean, instead of using...
p.modify["hop_particles"](halos, p_size=0.05, max_number=4000, min_size=0, alpha=0.6)
Can I use...
p.modify["hop_particles"]("HopAnalysis.out", p_size=0.05, max_number=4000, min_size=0, alpha=0.6)
I tried it but did not work. I had to generate the halos again.
-----Original Message----- From: email@example.com on behalf of Stephen Skory Sent: Sat 11/28/2009 12:09 PM To: Discussion of the yt analysis package Subject: Re: [yt-users] Hop_particles
p.modify["hop_particles"](halos, p_size=1.0, max_number=None, min_size=0,
try setting 'max_number' to something other than 'None', like the number (or greater) of haloes for which you want the particles plotted. With that, it works for me.
_______________________________________________________ firstname.lastname@example.org o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_(_)_______________ _______________________________________________ yt-users mailing list email@example.com http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org