geoana.em.tdem.VerticalMagneticDipoleHalfSpace.distance#

VerticalMagneticDipoleHalfSpace.distance(xyz)#

Scalar distance from dipole to a set of gridded xyz locations

Where \(\mathbf{p}\) is the location of the source and \(\mathbf{q}\) is a point in 3D space, this method returns the scalar distance:

\[d = \sqrt{(q_x - p_x)^2 + (q_y - p_y)^2 + (q_z - p_z)^2}\]

for all locations \(\mathbf{q}\) supplied in the input argument xyz. For dipoles, \(\mathbf{p}\) is the dipole location. For circular loops, \(\mathbf{p}\) defines the center location for the loop.

Parameters:
xyz(n, 3) numpy.ndarray

Gridded xyz locations

Returns:
  1. numpy.ndarray Scalar distances from dipole to xyz locations