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