xarray_perp

PlasmaCalcs.tools.xarray_tools.xarray_vectors.xarray_perp(A, B)

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