SimPEG.maps.ParametricLayer#
- class SimPEG.maps.ParametricLayer(mesh, **kwargs)[source]#
Bases:
SimPEG.maps.BaseParametric
Mapping for a horizontal layer within a wholespace.
This mapping is used when the cells lying below the Earth’s surface can be parameterized by horizontal layer within a homogeneous medium. The model is defined by the physical property value for the background (
), the physical property value for the layer ( ), the elevation for the middle of the layer ( ) and the thickness of the layer .For this mapping, the set of input model parameters are organized:
The mapping
from the model to the mesh is given by:where
is a vectors containing the vertical cell center locations for all active cells in the mesh, and is a parameter which defines the sharpness of the boundaries between the layer and the background.- Parameters
- mesh
discretize.BaseMesh
A discretize mesh
- indActive
numpy.ndarray
Active cells array. Can be a boolean
numpy.ndarray
of length mesh.nC or anumpy.ndarray
ofint
containing the indices of the active cells.- slope
float
Directly define the constant a in the mapping function which defines the sharpness of the boundaries.
- slopeFact
float
Scaling factor for the sharpness of the boundaries based on cell size. Using this option, we set a = slopeFact / dh.
- mesh
Examples
Attributes
Number of model parameters the mapping acts on; i.e 4
Dimensions of the mapping
Methods
deriv
(m)Derivative of the mapping with respect to the input parameters.
mDict
(m)Return model parameters as a dictionary.
layer_cont