simpeg.maps.BaseParametric#

class simpeg.maps.BaseParametric(mesh, slope=None, slopeFact=1.0, indActive=None, **kwargs)[source]#

Bases: IdentityMap

Base class for parametric mappings from simple geological structures to meshes.

Parameters:
meshdiscretize.BaseMesh

A discretize mesh

indActivenumpy.ndarray, optional

Active cells array. Can be a boolean numpy.ndarray of length mesh.nC or a numpy.ndarray of int containing the indices of the active cells.

slopefloat, optional

Directly set the scaling parameter slope which sets the sharpness of boundaries between units.

slopeFactfloat, optional

Set sharpness of boundaries between units based on minimum cell size. If set, the scalaing parameter slope = slopeFact / dh.

Attributes

is_linear

Determine whether or not this mapping is a linear operation.

mesh

The mesh used for the mapping

nP

Number of parameters the mapping acts on.

shape

Dimensions of the mapping operator

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.

indActive

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

Maps: Parametric Block in a Layer

Maps: Parametrized Layer

Maps: Parametrized Layer

Parametric DC inversion with Dipole Dipole array

Parametric DC inversion with Dipole Dipole array

Heagy et al., 2017 Casing Example

Heagy et al., 2017 Casing Example

Tensor Meshes

Tensor Meshes

Cylindrical Meshes

Cylindrical Meshes

Tree Meshes

Tree Meshes