def centroid_atmList(atmList):
    """Get centroid for list of atoms."""

    i, x, y, z = 0, 0, 0, 0
    for atm in atmList:
        x += atm["x"]
        y += atm["y"]
        z += atm["z"]
        i += 1
    return x/i, y/i, z/i