choclo.prism.magnetic_nn

Contents

choclo.prism.magnetic_nn#

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

Northing derivative of the northing component of the magnetic field.

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

Parameters:
eastingfloat

Easting coordinate of the observation point. Must be in meters.

northingfloat

Northing coordinate of the observation point. Must be in meters.

upwardfloat

Upward coordinate of the observation point. Must be in meters.

prism_westfloat

The West boundary of the prism. Must be in meters.

prism_eastfloat

The East boundary of the prism. Must be in meters.

prism_southfloat

The South boundary of the prism. Must be in meters.

prism_northfloat

The North boundary of the prism. Must be in meters.

prism_bottomfloat

The bottom boundary of the prism. Must be in meters.

prism_topfloat

The top boundary of the prism. Must be in meters.

magnetization_eastfloat

The East component of the magnetization vector of the prism. Must be in \(A m^{-1}\).

magnetization_northfloat

The North component of the magnetization vector of the prism. Must be in \(A m^{-1}\).

magnetization_upfloat

The upward component of the magnetization vector of the prism. Must be in \(A m^{-1}\).

Returns:
b_nnfloat

Northing derivative of the northing component of the magnetic field generated by the prism on the observation point in \(\text{T}\). Return numpy.nan if the observation point falls in a singular point: prism vertices, prism edges or interior points.

Notes

Computes the northing derivative of the northing component of the magnetic field \(\mathbf{B}(\mathbf{p})\) generated by a rectangular prism \(R\) with a magnetization vector \(M\) on the observation point \(\mathbf{p}\) as follows:

\[B_{yy}(\mathbf{p}) = \frac{\mu_0}{4\pi} \left( M_x u_{xyy} + M_y u_{yyy} + M_z u_{yyz} \right)\]

Where \(u_{ijk}\) are:

\[u_{ijk} = \frac{\partial^3}{\partial i \partial j \partial k} \int\limits_R \frac{1}{\lVert \mathbf{p} - \mathbf{q} \rVert} dv\]

with \(i,j,k \in \{x, y, z\}\).

References