geoana.em.static.MagnetostaticSphere#
- class geoana.em.static.MagnetostaticSphere(radius, mu_sphere, mu_background, primary_field=None, location=None)#
Class for magnetostatic solutions for a permeable sphere in a uniform magnetostatic field.
The
MagnetostaticSphere
class is used to analytically compute the magnetic potentials, fields, and magnetic flux densities for a permeable sphere in a uniform magnetostatic field.- Parameters:
- radiusfloat
radius of sphere (m).
- mu_spherefloat
permeability of target sphere (H/m).
- mu_backgroundfloat
background permeability (H/m).
- primary_field(3) array_like, optional
amplitude of primary magnetic field. Default is (1, 0, 0)
- location(3) array_like, optional
Center of the sphere. Default is (0, 0, 0).
Attributes
Center of the sphere
Magnetic permeability of the background in H/m.
Magnetic permeability of the sphere in H/m.
Amplitude of the primary current density.
Radius of the sphere in meters.
Methods
magnetic_field
(xyz[, field])Magnetic field for a permeable sphere in a uniform magnetostatic field.
magnetic_flux_density
(xyz[, field])Magnetic flux density for a permeable sphere in a uniform magnetostatic field.
potential
(xyz[, field])Magnetic potential for a permeable sphere in a uniform magnetostatic field.