simpeg.regularization.CrossGradient.W#

property CrossGradient.W#

Weighting matrix.

Returns the weighting matrix for the discrete regularization function. To see how the weighting matrix is constructed, see the Notes section for the Smallness regularization class.

Returns:
scipy.sparse.csr_matrix

The weighting matrix applied in the regularization.