csep.core.catalogs.CSEPCatalog.get_bvalue

CSEPCatalog.get_bvalue(mag_bins=None, return_error=True)

Estimates the b-value of a catalog from Marzocchi and Sandri (2003). First, tries to use the magnitude bins provided to the function. If those are not provided, tries the magnitude bins associated with the region. If that fails, uses the default magnitude bins provided in constants.

Parameters:
  • mag_bins (list or array_like) – monotonically increasing set of magnitude bin edges

  • return_error (bool) – returns errors

Returns:

b-value err (float): std. err

Return type:

bval (float)