I\'m beginner to python coding. I\'m working over structural coordinates. I have pdb structure which have xyz coordinate information (last three col)
ATOM
try this
import numpy as nx X = nx.rand(10,3) # generate some number centroid = nx.mean(X) print centroid