6.2.4.1.7. eqcorrscan.utils.clustering.dist_mat_km

eqcorrscan.utils.clustering.dist_mat_km(catalog, num_threads=None)[source]

Compute the distance matrix for a catalog using hypocentral separation.

Will give physical distance in kilometers.

Parameters:

catalog (obspy.core.event.Catalog) – Catalog for which to compute the distance matrix

Returns:

distance matrix

Return type:

numpy.ndarray