csep.core.catalogs.CSEPCatalog.magnitude_counts

CSEPCatalog.magnitude_counts(mag_bins=None, retbins=False)

Computes the count of events within mag_bins

Parameters
  • mag_bins – uses csep.utils.constants.CSEP_MW_BINS as default magnitude bins

  • retbins (bool) – if this is true, return the bins used

Returns

showing the counts of hte events in each magnitude bin

Return type

numpy.ndarray