# MagneticDipole¶

class plasmapy.formulary.magnetostatics.MagneticDipole(moment: Unit("A m2"), p0: Unit("m"))

Simple magnetic dipole - two nearby opposite point charges.

Parameters: moment (astropy.units.Quantity) – Magnetic moment vector, in units of A * m^2 p0 (astropy.units.Quantity) – Position of the dipole

Methods Summary

 magnetic_field(p) Calculate magnetic field generated by this wire at position p

Methods Documentation

magnetic_field(p: Unit("m")) -> Unit("T")

Calculate magnetic field generated by this wire at position p

Parameters: p (astropy.units.Quantity) – three-dimensional position vector B – magnetic field at the specified positon astropy.units.Quantity