pynetdesign.modelling.utils.calculate_Mw#
- pynetdesign.modelling.utils.calculate_Mw(M0)[source]#
Calculates the moment magnitude \(M_w\) according to Kanamori (1977) using formula
\[M_w = \frac{2}{3}\left(\log_{10}(M_0)-9.1\right)\]where \(M_0\) is the seismic moment.
- Parameters:
- M0array_like
seismic moment
- Returns:
- Mwarray_like
moment magnitude
Notes
Replaces all non-positive values of M0 by nan
References
Kanamori, H. (1977). The energy release in great earthquakes. Journal of Geophysical Research, 82(20), 2981–2987. https://doi.org/10.1029/jb082i020p02981