simpeg.maps.BaseParametric#
- class simpeg.maps.BaseParametric(mesh, slope=None, slopeFact=1.0, active_cells=None, indActive=None, **kwargs)[source]#
Bases:
IdentityMap
Base class for parametric mappings from simple geological structures to meshes.
- Parameters:
- mesh
discretize.BaseMesh
A discretize mesh
- slope
float
,optional
Directly set the scaling parameter slope which sets the sharpness of boundaries between units.
- slopeFact
float
,optional
Set sharpness of boundaries between units based on minimum cell size. If set, the scalaing parameter slope = slopeFact / dh.
- active_cells
numpy.ndarray
,optional
Active cells array. Can be a boolean
numpy.ndarray
of length mesh.nC or anumpy.ndarray
ofint
containing the indices of the active cells.- indActive
numpy.ndarray
Deprecated since version 0.23.0: Argument
indActive
is deprecated in favor ofactive_cells
and will be removed in SimPEG v0.24.0.
- mesh
Attributes
active_cells.indActive has been deprecated.
Determine whether or not this mapping is a linear operation.
The mesh used for the mapping
Number of parameters the mapping acts on.
Dimensions of the mapping operator
Defines the sharpness of the boundaries.
Defines the slope scaled by the mesh.
X cell center locations (active) for the output of the mapping.
Y cell center locations (active) for the output of the mapping.
Z cell center locations (active) for the output of the mapping.
active_cells
Methods
deriv
(m[, v])Derivative of the mapping with respect to the input parameters.
dot
(map1)Multiply two mappings to create a
simpeg.maps.ComboMap
.inverse
(D)The transform inverse is not implemented.
test
([m, num, random_seed])Derivative test for the mapping.
Galleries and Tutorials using simpeg.maps.BaseParametric
#
Maps: Parametric Block in a Layer
Parametric DC inversion with Dipole Dipole array
Heagy et al., 2017 Casing Example