[Yt-dev] Ellipsoid update

Stephen Skory s at skory.us
Wed Aug 10 19:41:27 PDT 2011


Hi Geoffrey,

> I'm still need to figure out (and this is where help would save me a ton of
> time), how to access the two files inside a class in halo_objects.py.  Both
> of which are created by
> haloes.dump()

I don't think you'll have to write new versions of the functions. The
best thing would be to modify them and add the capability to save the
ellipsoid information, and the user can choose to have these
modifications active or not for output.

Actually, if I just modify things for you it would be faster for
everyone. halo_objects.py is a big mess right now and really only I
have a full picture of it. Which is not a good thing, I must admit.
So, am I to understand that in your branch of yt, I can do something
like this now?

ell = pf.h.ellispoid(parameters)

similarly to

sp = pf.h.sphere(parameters)?

And if I have a halo, I can get the ellipsoid parameters in some way?
If so, I could make the changes in short order. Let me know!

-- 
Stephen Skory
s at skory.us
http://stephenskory.com/
510.621.3687 (google voice)



More information about the yt-dev mailing list