vmd.atomsel.center

atomsel.center()

Get the coordinates of the center of the selection, optionally with weights on the selection atoms

Parameters:weight (list of float) – Weight on each atom. Optional
Returns:(3-tuple of float) – (x,y,z) coordinates of center of the selection