obspy.imaging.mopad_wrapper

ObsPy wrapper to the Moment tensor Plotting and Decomposition tool (MoPaD) written by Lars Krieger and Sebastian Heimann.

See also

[Krieger2012]

Warning

The MoPaD wrapper does not yet provide the full functionality of MoPaD. Please consider using the command line script obspy-mopad for now if you need the full power of MoPaD.

copyright

The ObsPy Development Team (devs@obspy.org)

license

GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)

Public Functions

beach

Return a beach ball as a collection which can be connected to an current matplotlib axes instance (ax.add_collection).

beachball

Draws a beach ball diagram of an earthquake focal mechanism.

Private Functions

Warning

Private functions are mainly for internal/developer use and their API might change without notice.

_normalize_focmec

Improve stability of plots by normalizing the moment tensors.