eqcorrscan.utils.clustering.space_cluster¶
-
eqcorrscan.utils.clustering.
space_cluster
(catalog, d_thresh, show=True)[source]¶ Cluster a catalog by distance only. DEPRECEATED - use catalog_cluster
Will compute the matrix of physical distances between events and utilize the
scipy.clustering.hierarchy
module to perform the clustering.- Parameters
catalog (obspy.core.event.Catalog) – Catalog of events to clustered
d_thresh (float) – Maximum inter-event distance threshold
- Returns
list of
obspy.core.event.Catalog
objects- Return type
list