obspy.imaging.source

Functions to compute and plot radiation patterns

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

plot_radiation_pattern

Plot the P/S farfield radiation pattern on a unit sphere grid.

Private Functions

Warning

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

_equalarea_spherical_grid

Generates a simple spherical equalarea grid that adjust the number of longitude samples to the latitude.

_oriented_uv_sphere

Returns a uv sphere (equidistant lat/lon grid) with its north-pole rotated to the input axis.

_plot_beachball

Private function that plots a beachball into a 2d matplotlib Axes.

_plot_radiation_pattern_mayavi

Plot the radiation pattern using MayaVi.

_plot_radiation_pattern_quiver

Private routine that plots the wave farfield into an Axes3D object

_plot_radiation_pattern_sphere

Private function that plots a radiation pattern sphere into an Axes3D.

_setup_figure_and_axes

Setup figure for Event plot.

_write_radiation_pattern_vtk