find_centre_of_mass

clustertools.analysis.functions.find_centre_of_mass(cluster)[source]

Find the centre of mass of the cluster

Parameters:
clusterclass

StarCluster

Returns:
xc,yc,zc,vxc,vyc,vzcfloat

coordinates of centre of mass