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:
  • coordinates (tuple of float) – Observation point coordinates in micrometers (μm).

  • dipole_coordinates (tuple of float) – Dipole location coordinates in micrometers (μm).

  • dipole_moments (tuple of float) – Dipole moment components (Am²).

Returns:

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