#### Previous topic

sknano.core.atoms.StructureAtoms.bounds

#### Next topic

sknano.core.atoms.StructureAtoms.centroid

# sknano.core.atoms.StructureAtoms.center_of_mass¶

StructureAtoms.center_of_mass

Center-of-Mass coordinates of Atoms.

Computes the position vector of the center-of-mass coordinates:

$\mathbf{R}_{COM} = \frac{1}{M}\sum_{i=1}^{N_{\mathrm{atoms}}} m_i\mathbf{r}_i$
Returns: com : Vector The position vector of the center of mass coordinates.