def collect_all_conflevels(param1, combo, bpath, ignore): paths = paths_to_files(combo, bpath) data = np.asarray( [0] + [extracting_data(path, param1, combo) for path in paths if not common.ignore_path(path, ignore)] ) data.sort() return data
def list_areas(combo, param1, param2, bpath, ignore): areas = [] pathareasorter = {} for path in paths_to_files(combo, param1, param2, bpath): if common.ignore_path(path, ignore): continue area = get_area(path) areas.append(area) pathareasorter[path] = area areas = np.sort(areas) #print pathareasorter return areas