5.4.1.6. eqcorrscan.utils.clustering.dist_mat_km

eqcorrscan.utils.clustering.dist_mat_km(catalog)[source]

Compute the distance matrix for all events in a catalog

Will give physical distance in kilometers.

Parameters:catalog (List of obspy.Catalog) Catalog for which to compute the distance matrix
Returns:ndarray - distance matrix