Processing math: 100%

sknano.core.atoms.MDAtoms.centroid

MDAtoms.centroid

Centroid of Atoms.

Computes the position vector of the centroid of the Atoms coordinates.

C=Natomsi=1riNatoms
Returns:

C : Vector

The position vector of the centroid coordinates.