magali.dipole_bz

Contents

magali.dipole_bz#

magali.dipole_bz(coordinates, dipole_coordinates, dipole_moments)[source]#

Computes the vertical component of the magnetic field (Bz) produced by a magnetic dipole.

Parameters:
coordinatestuple of float

Observation point coordinates in micrometers (μm).

dipole_coordinatestuple of float

Dipole location coordinates in micrometers (μm).

dipole_momentstuple of float

Dipole moment components (Am²).

Returns:
bzfloat

The vertical component of the magnetic field (Bz) at the given observation point.