take_perp_to

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

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

Note that B is the first argument.