Navigation

This module provides routines for plotting and displaying often used in
seismology. It can currently plot waveform data, generate spectrograms and draw
beachballs. The module obspy.imaging depends on the plotting module
matplotlib.

The function calls for creating beachballs are similar in both modules. The
following examples are based on the first module, however those example
will also work with MoPaD by using

>>> fromobspy.imaging.mopad_wrapperimportBeachball

and

>>> fromobspy.imaging.mopad_wrapperimportBeach

respectively.

Examples

The focal mechanism can be given by 3 (strike, dip, and rake) components.
The strike is of the first plane, clockwise relative to north. The dip is
of the first plane, defined clockwise and perpendicular to strike, relative
to horizontal such that 0 is horizontal and 90 is vertical. The rake is of
the first focal plane solution. 90 moves the hanging wall up-dip (thrust),
0 moves it in the strike direction (left-lateral), -90 moves it down-dip
(normal), and 180 moves it opposite to strike (right-lateral).

The focal mechanism can also be specified using the 6 independent
components of the moment tensor (M11, M22, M33, M12, M13, M23). For
obspy.imaging.beachball.Beachball() (1, 2, 3) corresponds to
(Up, South, East) which is equvalent to (r, theta, phi). For
obspy.imaging.mopad_wrapper.Beachball() the coordinate system can be
chosen and includes the choices ‘NED’ (North, East, Down), ‘USE’ (Up,
South, East), ‘NWU’ (North, West, Up) or ‘XYZ’.