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, upward
float
Easting, northing and upward coordinates of the observation point. Must be in meters.
- prism_west, prism_east, prism_south, prism_north, prism_bottom, prism_top
float
The boundaries 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
.
- easting, northing, upward
- Returns:
- b_u
float
Upward 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.
- b_u
See also
Notes
Computes the upward 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