openquake.hmtk.plotting.seismicity.max_magnitude package¶
Submodules¶
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, figure_size=(8, 6), filename=None, filetype='png', dpi=300, ax=None)[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