simpeg.maps.InjectActiveCells.inverse#

InjectActiveCells.inverse(u)[source]#

Recover the model parameters (active cells) from a set of physical property values defined on the entire mesh.

For a discrete set of model parameters m defined on a set of active cells, the mapping u(m) is defined as:

u(m)=Pm+dm

where P is a (nC , nP) projection matrix from active cells to all mesh cells, and d is a (nC , 1) matrix that projects the inactive cell value m to all inactive mesh cells.

The inverse mapping is given by:

m(u)=PTu
Parameters:
u(mesh.nC) numpy.ndarray

A vector which contains physical property values for all mesh cells.