<div>"if I just modify things for you it would be faster for</div>everyone"<div>Thanks Stephen, the scripts are at:<div><br></div><div><a href="http://paste.enzotools.org/show/1740/">http://paste.enzotools.org/show/1740/</a></div>
<div><a href="http://paste.enzotools.org/show/1741/">http://paste.enzotools.org/show/1741/</a><br><br></div><div>The first one is just running parallelHF then using the halo list to find the ellipsoid attributes, the second script is a simple script that loads the attributes into YT's ellipsoid object and then calculate the total density inside the first ellipsoid.</div>
<div><br></div><div>I find it convenient to have a second dev YT installed, then replace the yt-hg directory with the one I created from the fork, that way you can alias two commands one to "deactivate the current YT and activate the dev", the other to "deactivate the current YT and activate the forked".</div>
<div><br></div><div><br></div><div>From</div><div>G.S.</div><div><br><div class="gmail_quote">On Wed, Aug 10, 2011 at 7:41 PM, Stephen Skory <span dir="ltr"><<a href="mailto:s@skory.us">s@skory.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Geoffrey,<br>
<div class="im"><br>
> I'm still need to figure out (and this is where help would save me a ton of<br>
> time), how to access the two files inside a class in halo_objects.py.  Both<br>
> of which are created by<br>
> haloes.dump()<br>
<br>
</div>I don't think you'll have to write new versions of the functions. The<br>
best thing would be to modify them and add the capability to save the<br>
ellipsoid information, and the user can choose to have these<br>
modifications active or not for output.<br>
<br>
Actually, if I just modify things for you it would be faster for<br>
everyone. halo_objects.py is a big mess right now and really only I<br>
have a full picture of it. Which is not a good thing, I must admit.<br>
So, am I to understand that in your branch of yt, I can do something<br>
like this now?<br>
<br>
ell = pf.h.ellispoid(parameters)<br>
<br>
similarly to<br>
<br>
sp = pf.h.sphere(parameters)?<br>
<br>
And if I have a halo, I can get the ellipsoid parameters in some way?<br>
If so, I could make the changes in short order. Let me know!<br>
<br>
--<br>
<font color="#888888">Stephen Skory<br>
<a href="mailto:s@skory.us">s@skory.us</a><br>
<a href="http://stephenskory.com/" target="_blank">http://stephenskory.com/</a><br>
<a href="tel:510.621.3687" value="+15106213687">510.621.3687</a> (google voice)<br>
_______________________________________________<br>
Yt-dev mailing list<br>
<a href="mailto:Yt-dev@lists.spacepope.org">Yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</font></blockquote></div><br></div></div>