SimPEG.electromagnetics.time_domain.sources.LineCurrent.hInitial#

LineCurrent.hInitial(simulation)[source]#

Compute initial magnetic field.

Note that we compute analytic vector potential and take numerical curl so that B is divergence-free before converting to H-field.

Parameters
simulationBaseTDEMSimulation

A SimPEG TDEM simulation

Returns
numpy.ndarray

Initial magnetic field