pynbody/pynbody — pull request #203 by stinsong4100 (2014-09-05 10:57:18+00:00)
Title: Halo shape

This pull request adds a shape calculation based on the inertia tensor. It might be able to optimized more.

Issues:
Slowness: This method is iterative with a rotation every iteration, so recalculating 'r' is the slowest part even though 'r' is not used during the iteration. Is there a way to turn off the 'r' re-calculation temporarily?

Does anyone know why the b and c axes flip? In my test case, I'm getting a shorter b than c.