yt.analysis_modules.halo_finding.halo_objects.Halo.maximum_radius

Halo.maximum_radius(*args, **kwargs)[source]

Returns the maximum radius in the halo for all particles, either from the point of maximum density or from the center of mass.

The maximum radius from the most dense point is calculated. This accounts for periodicity.

Parameters:

center_of_mass : bool

True chooses the center of mass when calculating the maximum radius. False chooses from the maximum density location for HOP halos (it has no effect for FOF halos). Default = True.

Examples

>>> radius = halos[0].maximum_radius()