geoana.em.fdem.MagneticDipoleHalfSpace.dot_orientation#
- MagneticDipoleHalfSpace.dot_orientation(vecs)#
Dot product between the orientation of the source and a gridded set of vectors.
Where \(\mathbf{p}\) is the vector defining the dipole moment direction and \(\mathbf{v}\) is a 3D vector, this method returns the dot product:
\[\mathbf{p} \cdot \mathbf{v}\]for all vectors \(\mathbf{v}\) supplied in the input argument
vecs
.- Parameters:
- vecs(n, 3) numpy.ndarray
A set of 3D vectors
- Returns:
numpy.ndarray Dot product between the dipole moment direction (orientation) and each vector supplied.