geoana.em.fdem.MagneticDipoleHalfSpace.cross_orientation#
- MagneticDipoleHalfSpace.cross_orientation(xyz)#
Cross products between a gridded set of vectors and the orientation of the source.
Where \(\mathbf{p}\) is the vector defining the orientation of the source and \(\mathbf{v}\) is a 3D vector, this method returns the cross product:
\[\mathbf{v} \times \mathbf{p}\]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 Cross product between each vector supplied and the source orientation.