yt.analysis_modules.halo_finding.halo_objects.RockstarHalo.get_ellipsoid_parameters

RockstarHalo.get_ellipsoid_parameters(*args, **kwargs)[source]

Calculate the parameters that describe the ellipsoid of the particles that constitute the halo.

Parameters:

None :

Returns:

tuple : (cm, mag_A, mag_B, mag_C, e0_vector, tilt)

The 6-tuple has in order:
  1. The center of mass as an array.
  2. mag_A as a float.
  3. mag_B as a float.
  4. mag_C as a float.
  5. e0_vector as an array.
  6. tilt as a float.

Examples

>>> params = halos[0].get_ellipsoid_parameters()