SimPEG.electromagnetics.frequency_domain.sources.LineCurrent#
- class SimPEG.electromagnetics.frequency_domain.sources.LineCurrent(receiver_list=None, frequency=None, location=None, current=1.0, mu=1.25663706212e-06, **kwargs)[source]#
Bases:
BaseFDEMSrc
Line current source.
Given the wire path provided by the (n_loc, 3) locations array, the cells intersected by the wire path are identified and integrated source terms are computed.
- Parameters:
- receiver_list
list
of
SimPEG.electromagnetics.frequency_domain.receivers.BaseRx
List of FDEM receivers
- frequency
float
Source frequency
- location(n,3)
numpy.ndarray
Array defining the node locations for the wire path. For inductive sources, you must close the loop.
- current
float
,optional
Strength of the current.
- mu
float
,optional
Magnetic permeability to use.
- receiver_list
Attributes
Source current
Source frequency
Integrated source term
Line current nodes locations
Number of data associated with the source.
The number of line current segments.
List of receivers associated with the source
Universal unique identifier
Vector number of data.
Methods
Mejs
(simulation)Integrated electrical source term on edges
Mfjs
(simulation)Integrated electrical source term on faces
bPrimary
(simulation)Compute primary magnetic flux density
bPrimaryDeriv
(simulation, v[, adjoint])Compute derivative of primary magnetic flux density times a vector
ePrimary
(simulation)Compute primary electric field
ePrimaryDeriv
(simulation, v[, adjoint])Compute derivative of primary electric field times a vector
eval
(simulation)Return magnetic and electric source terms
evalDeriv
(simulation[, v, adjoint])Return derivative of the magnetic and electric source terms with respect to the model.
getRHSdc
(simulation)Right-hand side for galvanic source term
get_receiver_indices
(receivers)Get indices for a subset of receivers within the source's receivers list.
hPrimary
(simulation)Compute primary magnetic field
hPrimaryDeriv
(simulation, v[, adjoint])Compute derivative of primary magnetic field times a vector
jPrimary
(simulation)Compute primary current density
jPrimaryDeriv
(simulation, v[, adjoint])Compute derivative of primary current density times a vector
s_e
(simulation)Electric source term (s_m)
s_eDeriv
(simulation, v[, adjoint])Derivative of electric source term with respect to the inversion model
s_m
(simulation)Magnetic source term (s_m)
s_mDeriv
(simulation, v[, adjoint])Derivative of magnetic source term with respect to the inversion model