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

indActive

active_cells.indActive has been deprecated.

is_linear

Determine whether or not this mapping is a linear operation.

mesh

The mesh used for the mapping

nP

Number of model parameters the mapping acts on; i.e 4

shape

Dimensions of the mapping

slope

Defines the sharpness of the boundaries.

slopeFact

Defines the slope scaled by the mesh.

x

X cell center locations (active) for the output of the mapping.

y

Y cell center locations (active) for the output of the mapping.

z

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

Galleries and Tutorials using simpeg.maps.ParametricBlockInLayer#

Maps: Parametric Block in a Layer

Maps: Parametric Block in a Layer

Heagy et al., 2017 Casing Example

Heagy et al., 2017 Casing Example