simpeg.electromagnetics.frequency_domain.receivers.PointMagneticField.getP#
- PointMagneticField.getP(mesh, projected_grid)[source]#
Get projection matrix from mesh to receivers
- Parameters:
- mesh
discretize.BaseMesh
A discretize mesh
- projected_grid
str
Define what part of the mesh (i.e. edges, faces, centers, nodes) to project from. Must be one of:
'E', 'edges_' -> field defined on edges 'F', 'faces_' -> field defined on faces 'CCV', 'cell_centers_' -> vector field defined on cell centers
- mesh
- Returns:
scipy.sparse.csr_matrix
P, the interpolation matrix