class emg3d.electrodes.TxMagneticDipole(coordinates, strength=1.0, length=1.0)[source]

Bases: emg3d.electrodes.Source, emg3d.electrodes.Dipole

Magnetic dipole source using a square loop perpendicular to the dipole.

The magnetic dipole source simulates a magnetic dipole with an electric square loop perpendicular and at the center of the dipole. The area of the loop corresponds to the dipole length, to represent the same strength.


Dipole coordinates. Three formats are accepted:

  • [[x1, y1, z1], [x2, y2, z2]];

  • (x1, x2, y1, y2, z1, z2);

  • (x, y, z, azimuth, elevation); this format takes also the length parameter.

strengthfloat, default: 1.0

Source strength (A).

lengthfloat, default: 1.0

Length of the dipole (m). This parameter is only used if the provided coordinates are in the format (x, y, z, azimuth, elevation).