[yt-users] Hop_particles
Agarwal, Shankar
sagarwal at ku.edu
Sat Nov 28 11:34:24 PST 2009
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.
shankar
-----Original Message-----
From: yt-users-bounces at lists.spacepope.org 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
Shankar,
> p.modify["hop_particles"](halos, p_size=1.0, max_number=None, min_size=0,
> alpha=0.20000000000000001)
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.
_______________________________________________________
sskory at physics.ucsd.edu o__ Stephen Skory
http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
________________________________(_)_\(_)_______________
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3273 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20091128/ce3ea485/attachment-0001.bin>
More information about the yt-users
mailing list