simpeg.maps.Weighting.inverse#

Weighting.inverse(D)[source]#

Apply the inverse of the weighting mapping to an array.

For the weighting mapping u(m), the inverse mapping on a variable x is performed by multplying each element by the reciprocal of its corresponding weighting value, i.e.:

m=u1(x)=w1x

where is the Hadamard product. The inverse mapping may also be defined using a linear operator as follows:

m=u1(x)=P1mwhereP=diag(w)
Parameters:
Dnumpy.ndarray

A set of input values

Returns:
numpy.ndarray

A numpy.ndarray containing result of applying the inverse mapping to the elements in D; which in this case is simply dividing each element by its corresponding weight.