def coincidences_each_cluster(): network = Network() for cluster in network.clusters(): stations = network.stations(cluster=cluster['number']) station_numbers = [station['number'] for station in stations] group_name = '%s cluster' % cluster['name'] coincidences_stations(station_numbers, group_name=group_name)
def coincidences_sciencepark(): network = Network() stations = network.stations(subcluster=500) station_numbers = [station['number'] for station in stations] group_name = 'Science Park subcluster' coincidences_stations(station_numbers, group_name=group_name)