SimPEG.base.BasePDESimulation.residual#
- BasePDESimulation.residual(m, dobs, f=None)[source]#
The data residual:
\[\mu_\text{data} = \mathbf{d}_\text{pred} - \mathbf{d}_\text{obs}\]- Parameters
m (numpy.ndarray) – geophysical model
f (numpy.ndarray) – fields
- Return type
- Returns
data residual