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_listlist of simpeg.electromagnetics.frequency_domain.receivers.BaseRx

List of FDEM receivers

frequencyfloat

Source frequency

location(n,3) numpy.ndarray

Array defining the node locations for the wire path. For inductive sources, you must close the loop.

currentfloat, optional

Strength of the current.

mufloat, optional

Magnetic permeability to use.

Attributes

current

Source current

frequency

Source frequency

integrate

Integrated source term

location

Line current nodes locations

nD

Number of data associated with the source.

n_segments

The number of line current segments.

receiver_list

List of receivers associated with the source

uid

Universal unique identifier

vnD

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