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