simpeg.data_misfit.BaseDataMisfit.W#

property BaseDataMisfit.W#

The data weighting matrix.

For a discrete least-squares data misfit function of the form:

\[\phi_d (\mathbf{m}) = \| \mathbf{W} \mathbf{f}(\mathbf{m}) \|_2^2\]

\(\mathbf{W}\) is a linear weighting matrix, \(\mathbf{m}\) is the model vector, and \(\mathbf{f}\) is a discrete mapping function that acts on the model vector.

Returns:
scipy.sparse.csr_matrix

The data weighting matrix.