plots.plot_cum_count#

seismostats.plots.plot_cum_count(times: list | ndarray | Series, magnitudes: ndarray | Series, mcs: ndarray = array([0]), delta_m: float | None = None, ax: Axes | None = None) Axes#

Plots cumulative count of earthquakes in given catalog above given Mc through time. Plots a line for each given completeness magnitude in the array mcs.

Parameters:
  • times – Array containing times of events.

  • magnitudes – Array of magnitudes of events corresponding to the times.

  • mcs – The list of completeness magnitudes for which we show lines on the plot.

  • delta_m – Binning precision of the magnitudes, assumed 0 if not given.

  • ax – Axis where figure should be plotted.

Returns:

ax – Ax that was plotted on.