openquake.hmtk.plotting.seismicity.max_magnitude package


openquake.hmtk.plotting.seismicity.max_magnitude.cumulative_moment module

Module to produce cumulative moment plot

openquake.hmtk.plotting.seismicity.max_magnitude.cumulative_moment.plot_cumulative_moment(year, mag)[source]

Calculation of Mmax using aCumulative Moment approach, adapted from the cumulative strain energy method of Makropoulos & Burton (1983) :param year: Year of Earthquake :type year: numpy.ndarray :param mag: Magnitude of Earthquake :type mag: numpy.ndarray :keyword iplot: Include cumulative moment plot :type iplot: Boolean :return mmax: Returns Maximum Magnitude :rtype mmax: Float

Module contents