5.4.1.12. eqcorrscan.utils.clustering.space_cluster

eqcorrscan.utils.clustering.space_cluster(catalog, d_thresh, show=True)[source]

Cluster a catalog by distance only.

Will compute the matrix of physical distances between events and utilize the scipy.clustering.hierarchy module to perform the clustering.

Parameters:
  • catalog (obspy.Catalog) Catalog of events to clustered
  • d_thresh (float) Maximum inter-event distance threshold
Returns:

list of Catalog classes