yt.lagos.Halo.center_of_mass

Halo.center_of_mass()

Calculate and return the center of mass.

The center of mass of the halo is directly calculated and returned.

Examples

>>> com = halos[0].center_of_mass()

Previous topic

yt.lagos.Halo.bulk_velocity

Next topic

yt.lagos.Halo.get_size

This Page