simpeg.maps.ParametricBlockInLayer#
- class simpeg.maps.ParametricBlockInLayer(mesh, **kwargs)[source]#
Bases:
ParametricLayer
Parametric Block in a Layered Space
For 2D:
m = [val_background, val_layer, val_block, layer_center, layer_thickness, block_x0, block_dx ]
For 3D:
m = [val_background, val_layer, val_block, layer_center, layer_thickness, block_x0, block_y0, block_dx, block_dy ]
Required
- Parameters:
mesh (discretize.base.BaseMesh) – SimPEG Mesh, 2D or 3D
Optional
- Parameters:
slopeFact (float) – arctan slope factor - divided by the minimum h spacing to give the slope of the arctan functions
slope (float) – slope of the arctan function
active_cells (numpy.ndarray) – bool vector with
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 model parameters the mapping acts on; i.e 4
Dimensions of the mapping
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)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.
mDict
(m)Return model parameters as a dictionary.
test
([m, num, random_seed])Derivative test for the mapping.
layer_cont
xleft
xright
yleft
yright