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:
\[\frac{\partial \mathbf{f_m}}{\partial \mathbf{m}} = \mathbf{G_x} \frac{\partial \mu(\mathbf{m})}{\partial \mathbf{m}}\]where \(\mathbf{G_x}\) is the partial cell gradient operator along x (i.e. the x-derivative), and \(\mu\) is the mapping function.
- Parameters:
- m
numpy.ndarray The model.
- m
- Returns:
scipy.sparse.csr_matrixThe derivative of the regularization kernel function.
Notes
The objective function for first-order smoothness regularization along the x-direction is given by:
\[\phi (\mathbf{m}) = \left\lVert \mathbf{W} \mathbf{G_x} \left[ \mu(\mathbf{m}) - \mu(\mathbf{m}^\text{ref}) \right] \right\rVert^2.\]where \(\mathbf{m}\) are the discrete model parameters (model), \(\mathbf{m}^\text{ref}\) is the reference model, \(\mathbf{G_x}\) is the partial cell gradient operator along the x-direction (i.e. x-derivative), \(\mu\) is the mapping function, and \(\mathbf{W}\) is the weighting matrix. Similar for smoothness along y and z. See the
SmoothnessFirstOrderclass documentation for more detail.We define the regularization kernel function \(\mathbf{f_m}\) as:
\[\mathbf{f_m}(\mathbf{m}) = \mathbf{G_x} \left[ \mu(\mathbf{m}) - \mu(\mathbf{m}^\text{ref}) \right]\]such that:
\[\phi_m(\mathbf{m}) = \lVert \mathbf{W \, f_m} \rVert^2.\]The derivative with respect to the model is therefore:
\[\frac{\partial \mathbf{f_m}}{\partial \mathbf{m}} = \mathbf{G_x} \frac{\partial \mu(\mathbf{m})}{\partial \mathbf{m}}\]