def compute_convexHull(list_of_coordinates): # stores curvatures for every sheet in xls file list_of_convexHull = [] for coordinates in list_of_coordinates: # read in coordinates and convert to path object p = Path(coordinates) list_of_convexHull.append(p.getExploredSurfaceArea()) return list_of_convexHull