#### Previous topic

sknano.core.atoms.MDAtoms.bounds

#### Next topic

sknano.core.atoms.MDAtoms.centroid

# sknano.core.atoms.MDAtoms.center_of_mass¶

MDAtoms.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.