plots.plot_mc_vs_b#

seismostats.plots.plot_mc_vs_b(magnitudes: ~numpy.ndarray, mcs: ~numpy.ndarray, delta_m: float, b_method: ~seismostats.analysis.bvalue.base.BValueEstimator = <class 'seismostats.analysis.bvalue.classic.ClassicBValueEstimator'>, confidence_interval: float = 0.95, ax: ~matplotlib.axes._axes.Axes | None = None, color: str = 'blue', label: str | None = None, **kwargs) Axes#

Plots the estimated b-value in dependence of the completeness magnitude.

Parameters:
  • magnitudes – Magnitudes of the catalog.

  • mcs – Completeness magnitudes.

  • delta_m – Discretization of the magnitudes.

  • method – Method used for b-value estimation.

  • confidence_interval – Confidence interval that should be plotted.

  • ax – Axis where figure should be plotted.

  • color – Color of the data.

  • label – Label of the data that will be put in the legend.

  • **kwargs – Additional parameters to be passed to the b-value estimator.

Returns:

ax – ax that was plotted on