TxMagneticDipole#

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

Bases: Source, 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; \(I^m = i\omega\mu A I^e\). The area A of the loop corresponds to the dipole length, to represent the same strength.

Parameters:
coordinatesarray_like

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).