simpeg.electromagnetics.natural_source.Simulation3DPrimarySecondary.getSourceTerm#

Simulation3DPrimarySecondary.getSourceTerm(freq)[source]#

Returns the discrete source terms for the frequency provided.

This method computes and returns the discrete magnetic and electric source terms for all soundings at the frequency provided. The exact shape and implementation of the source terms when solving for the fields at each frequency is formulation dependent.

For definitions of the discrete magnetic (\(\mathbf{s_m}\)) and electric (\(\mathbf{s_e}\)) source terms for each simulation, see the Notes sections of the docstrings for:

Parameters:
freqfloat

The frequency in Hz.

Returns:
s_mnumpy.ndarray

The magnetic sources terms. (n_faces, n_sources) for EB-formulations. (n_edges, n_sources) for HJ-formulations.

s_enumpy.ndarray

The electric sources terms. (n_edges, n_sources) for EB-formulations. (n_faces, n_sources) for HJ-formulations.