simpeg.electromagnetics.time_domain.Simulation3DMagneticField.getInitialFieldsDeriv#
- Simulation3DMagneticField.getInitialFieldsDeriv(src, v, adjoint=False, f=None)[source]#
Derivative of the initial fields with respect to the model for a given source.
For a given source object src, let \(\mathbf{u_0}\) represent the initial fields discretized to the mesh. Where \(\mathbf{m}\) are the model parameters and \(\mathbf{v}\) is a vector, this method computes and returns:
\[\dfrac{\partial \mathbf{u_0}}{\partial \mathbf{m}} \, \mathbf{v}\]or the adjoint operation:
\[\dfrac{\partial \mathbf{u_0}}{\partial \mathbf{m}}^T \, \mathbf{v}\]- Parameters:
- src
time_domain.sources.BaseTDEMSrc
A TDEM source.
- v
numpy.ndarray
A vector of appropriate dimension. When adjoint is
False
, v is a (n_param,) numpy.ndarray. When adjoint isTrue
, v is a (n_edges or n_faces,) numpy.ndarray.- adjointbool
Whether to perform the adjoint operation.
- f
time_domain.fields.BaseTDEMFields
,optional
The TDEM fields object.
- src
- Returns:
numpy.ndarray
Derivatives of the initial fields with respect to the model for a given source. (n_edges or n_faces,) numpy.ndarray when
adjoint
isFalse
. (n_param,) numpy.ndarray whenadjoint
isTrue
.