simpeg.maps.ParametricLayer.deriv#

ParametricLayer.deriv(m)[source]#

Derivative of the mapping with respect to the input parameters.

Let m=[σ0,σ1,zL,h] be the set of model parameters the defines a layer within a wholespace. The mapping :math:`mathbf{u}(mathbf{m})`from the parameterized model to all active cells is given by:

u(m)=σ0+(σ1σ0)π[arctan(a(zczL+h2))arctan(a(zczLh2))]

where zc is a vectors containing the vertical cell center locations for all active cells in the mesh. The derivative of the mapping with respect to the model parameters is a numpy.ndarray of shape (nAct, 4) given by:

um=[uσ0uσ1uzLuh]
Parameters:
m(nP) numpy.ndarray

A vector representing a set of model parameters

v(nP) numpy.ndarray

If not None, the method returns the derivative times the vector v

Returns:
scipy.sparse.csr_matrix

Derivative of the mapping with respect to the model parameters. If the input argument v is not None, the method returns the derivative times the vector v.