SimPEG.maps.LogMap#
- class SimPEG.maps.LogMap(mesh=None, nP=None, **kwargs)[source]#
Bases:
SimPEG.maps.IdentityMap
Mapping that computes the natural logarithm of the model parameters.
Where \(\mathbf{m}\) is a set of model parameters,
LogMap
creates a mapping \(\mathbf{u}(\mathbf{m})\) that computes the natural logarithm of every element in \(\mathbf{m}\); i.e.:\[\mathbf{u}(\mathbf{m}) = \textrm{log}(\mathbf{m})\]- Parameters
- mesh
discretize.BaseMesh
The number of parameters accepted by the mapping is set to equal the number of mesh cells.
- nP
int
Set the number of parameters accepted by the mapping directly. Used if the number of parameters is known. Used generally when the number of parameters is not equal to the number of cells in a mesh.
- mesh
Methods
deriv
(m[, v])Derivative of mapping with respect to the input parameters.
inverse
(m)Apply the inverse of the natural log mapping to an array.
Galleries and Tutorials using SimPEG.maps.LogMap
#
Straight Ray with Volume Data Misfit Term