obspy.imaging.beachball
Draws a beachball diagram of an earthquake focal mechanism
Most source code provided here are adopted from
MatLab script bb.m written by Andy Michael, Chen Ji and Oliver Boyd.
ps_meca program from the Generic Mapping Tools (GMT).
- 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
Get Strike and dip of second plane. |
|
Return a beach ball as a collection which can be connected to an current matplotlib axes instance (ax.add_collection). |
|
Draws a beach ball diagram of an earthquake focal mechanism. |
|
Calculates the principal axes of a given moment tensor. |
|
Calculates a nodal plane of a given moment tensor. |
|
Uses one nodal plane of a double couple to draw a beach ball plot. |
|
Uses a principal axis T, N and P to draw a beach ball plot. |
|
Finds strike and dip of plane given normal vector having components n, e, and u. |
|
Helper function for mt2plane. |
|
Classes
A moment tensor. |
|
A nodal plane. |
|
A principal axis. |