obspy.imaging.source._plot_radiation_pattern_sphere

_plot_radiation_pattern_sphere(ax3d, ned_mt, type, p_sphere_direction='inwards')[source]

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

Parameters:
  • ax3d (mpl_toolkits.mplot3d.axes3d.Axes3D) – matplotlib Axes3D object

  • ned_mt – moment tensor in NED convention

  • p_sphere_direction – If this is ‘inwards’, the tension regions of the beachball deform the radiation sphere inwards. If ‘outwards’ it deforms outwards.

  • type – ‘P’ or ‘S’ (P or S wave).