perp

PlasmaCalcs.quantities.patterns.vector_arithmetic.perp(A, B)

return the component of A perpendicular to B. Equivalent: A - (A dot Bhat) Bhat.