obspy.imaging.source._oriented_uv_sphere

_oriented_uv_sphere(ntheta=100, nphi=100, orientation=[0.0, 0.0, 1.0])[source]

Returns a uv sphere (equidistant lat/lon grid) with its north-pole rotated to the input axis. It returns the spherical grid points that can be used to generate a QuadMesh on the sphere for surface plotting.

Parameters:
  • nlat – number of latitudinal grid points (default = 100)

  • nphi – number of longitudinal grid points (default = 100)

  • orientation – axis of the north-pole of the sphere (default = [0, 0, 1])