simpeg.electromagnetics.natural_source.receivers.PointNaturalSource.evalDeriv#
- PointNaturalSource.evalDeriv(src, mesh, f, du_dm_v=None, v=None, adjoint=False)[source]#
Derivative of data with respect to the fields.
Let \(\mathbf{d}\) represent the data corresponding the receiver object. And let \(\mathbf{u}\) represent the discrete numerical solution of the fields on the mesh. Where \(\mathbf{P}\) is a projection function that maps from the fields to the data, i.e.:
\[\mathbf{d} = \mathbf{P}(\mathbf{u})\]this method computes and returns the derivative:
\[\dfrac{\partial \mathbf{d}}{\partial \mathbf{u}} = \dfrac{\partial [ \mathbf{P} (\mathbf{u}) ]}{\partial \mathbf{u}}\]- Parameters:
- str
frequency_domain.sources.BaseFDEMSrc
The NSEM source.
- mesh
discretize.TensorMesh
Mesh on which the discretize solution is obtained.
- f
simpeg.electromagnetics.frequency_domain.fields.FieldsFDEM
NSEM fields object for the source.
- du_dm_v
None
,optional
Supply pre-computed derivative?
- v
numpy.ndarray
,optional
Vector of size
- adjointbool,
optional
Whether to compute the ajoint operation.
- str
- Returns:
numpy.ndarray
Calculated derivative (n_data,) if adjoint is
False
, and (n_param, 2) if adjoint isTrue
, for both polarizations.