simpeg.maps.Weighting.inverse#
- Weighting.inverse(D)[source]#
Apply the inverse of the weighting mapping to an array.
For the weighting mapping
, the inverse mapping on a variable is performed by multplying each element by the reciprocal of its corresponding weighting value, i.e.:where
is the Hadamard product. The inverse mapping may also be defined using a linear operator as follows:- Parameters:
- D
numpy.ndarray
A set of input values
- D
- 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.