vmd.atomsel.centerperresidue

atomsel.centerperresidue()

Get the coordinates of the center of each residue in the selection, optionally weighted by weight

Parameters:weight (list of float) – Weights for each atom in selection. Optional. weights cannot be 0 otherwise NaN will be returned.
Returns:(list of tuple) – (x,y,z) coordinates of center of each residue