newanalysis.functions.centerOfMassByResidue

newanalysis.functions.centerOfMassByResidue(sel, **kwargs)

Returns an array of the centers of mass of all residues in the current AtomGroup