SimPEG.electromagnetics.natural_source.Simulation1DPrimarySecondary.residual#
- Simulation1DPrimarySecondary.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