geoana.em.static.MagneticPrism#

Inheritance diagram of MagneticPrism
class geoana.em.static.MagneticPrism(min_location, max_location, magnetization=None)#

Class for magnetic field solutions for a prism.

The Prism class is used to analytically compute the magnetic potentials, fields, and gradients for a prism with constant magnetization.

Parameters:
min_location(3,) array_like

(x, y, z) triplet of the minimum locations in each dimension

max_location(3,) array_like

(x, y, z) triplet of the maximum locations in each dimension

magnetization(3,) array_like, optional

Magnetization of prism (\(\frac{A}{m}\)).

Attributes

location

The center of the prism

max_location

Location of the point mass.

min_location

Location of the point mass.

volume

The volume of the prism

magnetization

moment

Methods

magnetic_field(xyz)

Magnetic field due to a prism.

magnetic_field_gradient(xyz)

Magnetic field gradient due to a prism.

magnetic_flux_density(xyz)

Magnetic field due to a prism.

scalar_potential(xyz)

Magnetic scalar potential due to a prism.