choclo.prism.magnetic_e
choclo.prism.magnetic_e#
- choclo.prism.magnetic_e(easting, northing, upward, prism_west, prism_east, prism_south, prism_north, prism_bottom, prism_top, magnetization_east, magnetization_north, magnetization_up)[source]#
Easting component of the magnetic field due to a prism
Returns the easting component of the magnetic field due to a single rectangular prism on a single computation point.
- Parameters
easting (float) – Easting coordinate of the observation point. Must be in meters.
northing (float) – Northing coordinate of the observation point. Must be in meters.
upward (float) – Upward coordinate of the observation point. Must be in meters.
prism_west (float) – The West boundary of the prism. Must be in meters.
prism_east (float) – The East boundary of the prism. Must be in meters.
prism_south (float) – The South boundary of the prism. Must be in meters.
prism_north (float) – The North boundary of the prism. Must be in meters.
prism_bottom (float) – The bottom boundary of the prism. Must be in meters.
prism_top (float) – The top boundary of the prism. Must be in meters.
magnetization_east (float) – The East component of the magnetization vector of the prism. Must be in
.magnetization_north (float) – The North component of the magnetization vector of the prism. Must be in
.magnetization_up (float) – The upward component of the magnetization vector of the prism. Must be in
.
- Returns
b_e (float) – Easting component of the magnetic field generated by the prism on the observation point in
. Returnnumpy.nan
if the observation point falls in a singular point: prism vertices, prism edges or interior points.
Notes
Computes the easting component of the magnetic field
generated by a rectangular prism with a magnetization vector on the observation point as follows:Where
are:with
. Solutions of the second derivatives of these integrals are given by [Nagy2000]:References