point_to_square_loop

emg3d.electrodes.point_to_square_loop(source, area)[source]

Return points of a loop of area perpendicular to source dipole.

Parameters
sourcetuple

Source dipole coordinates in the form of (x, y, z, azimuth, elevation).

areafloat

Area of the square loop (m^2).

Returns
outndarray

Array of shape (5, 3), corresponding to the x/y/z-coordinates for the five points describing a closed rectangle perpendicular to the dipole, of side-length length.