SimPEG.electromagnetics.static.spectral_induced_polarization.receivers.Dipole.getSpatialP#

Dipole.getSpatialP(mesh, projected_grid='CC')[source]#

Returns the spatial projection matrix from mesh to receivers.

Parameters:
meshdiscretize.BaseMesh

A discretize mesh; i.e. TensorMesh, CylindricalMesh, TreeMesh

projected_grid
Returns:
scipy.sparse.csr_matrix

The projection matrix from the mesh (one of cell centers, nodes, edges, etc…) to the receivers. The returned quantity is not stored in memory. Instead, it is created on demand when needed.