geoana.em.BaseMagneticDipole.distance#
- BaseMagneticDipole.distance(xyz)#
Scalar distance from dipole to a set of gridded xyz locations
Where
is the location of the source and is a point in 3D space, this method returns the scalar distance:for all locations
supplied in the input argument xyz. For dipoles, is the dipole location. For circular loops, defines the center location for the loop.- Parameters:
- xyz(n, 3) numpy.ndarray
Gridded xyz locations
- Returns:
numpy.ndarray Scalar distances from dipole to xyz locations