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()
yt.lagos.Halo.bulk_velocity
yt.lagos.Halo.get_size
Enter search terms or a module, class or function name.