RockstarHalo.
get_sphere
(center_of_mass=True)¶Returns a sphere source.
This will generate a new, empty sphere source centered on this halo, with the maximum radius of the halo. This can be used like any other data container in yt.
Parameters: | center_of_mass : bool, optional
|
---|---|
Returns: | sphere : yt.data_objects.api.YTSphereBase
|
Examples
>>> sp = halos[0].get_sphere()