choclo.prism.magnetic_u

Contents

choclo.prism.magnetic_u#

choclo.prism.magnetic_u(easting, northing, upward, prism_west, prism_east, prism_south, prism_north, prism_bottom, prism_top, magnetization_east, magnetization_north, magnetization_up)[source]#

Upward component of the magnetic field due to a prism.

Returns the upward component of the magnetic field due to a single rectangular prism on a single computation point.

Parameters:
easting, northing, upwardfloat

Easting, northing and upward coordinates of the observation point. Must be in meters.

prism_west, prism_east, prism_south, prism_north, prism_bottom, prism_topfloat

The boundaries of the prism. Must be in meters.

magnetization_eastfloat

The East component of the magnetization vector of the prism. Must be in Am1.

magnetization_northfloat

The North component of the magnetization vector of the prism. Must be in Am1.

magnetization_upfloat

The upward component of the magnetization vector of the prism. Must be in Am1.

Returns:
b_ufloat

Upward component of the magnetic field generated by the prism on the observation point in T. Return numpy.nan if the observation point falls in a singular point: prism vertices, prism edges or interior points.

Notes

Computes the upward component of the magnetic field B(p) generated by a rectangular prism R with a magnetization vector M on the observation point p as follows:

Bz(p)=μ04π(Mxuxz+Myuyz+Mzuzz)

Where uij are:

uij=2ijR1pqdv

with i,j{x,y,z}. Solutions of the second derivatives of these integrals are given by [Nagy2000]:

uxz=|||ln(y+r)|X1X2|Y1Y2|Z1Z2uyz=|||ln(x+r)|X1X2|Y1Y2|Z1Z2uzz=|||arctan(xyzr)|X1X2|Y1Y2|Z1Z2

References