simpeg.electromagnetics.frequency_domain.Simulation3DElectricField.residual#
- Simulation3DElectricField.residual(m, dobs, f=None)[source]#
The data residual.
This method computes and returns the data residual for the model provided. Where
are the observed data values, and are the predicted data values for model parameters , the data residual is given by:- Parameters:
- m(
n_param
, )numpy.ndarray
The model parameters.
- dobs(
n_data
, )numpy.ndarray
The observed data values.
- f
simpeg.fields.Fields
,optional
If provided, fields will not need to be recomputed when solving the forward problem.
- m(
- Returns:
- (
n_data
, )numpy.ndarray
The data residual.
- (