simpeg.regularization.SparseSmoothness.f_m_deriv#
- SparseSmoothness.f_m_deriv(m)[source]#
Derivative of the regularization kernel function.
For first-order smoothness regularization in the x-direction, the derivative of the regularization kernel function with respect to the model is given by:
where
is the partial cell gradient operator along x (i.e. the x-derivative).- Parameters:
- m
numpy.ndarray
The model.
- m
- Returns:
scipy.sparse.csr_matrix
The derivative of the regularization kernel function.
Notes
The objective function for first-order smoothness regularization along the x-direction is given by:
where
are the discrete model parameters (model), is the reference model, is the partial cell gradient operator along the x-direction (i.e. x-derivative), and is the weighting matrix. Similar for smoothness along y and z. See theSmoothnessFirstOrder
class documentation for more detail.We define the regularization kernel function
as:such that
The derivative with respect to the model is therefore: