bfieldtools.sphtools.Vlm

bfieldtools.sphtools.Vlm(l, m, theta, phi)

Vector basis function (Vlm) for r**(-l) component of the magnetic field. Normalization <Vlm,Vkn> = delta_lk,mn.

Parameters
l: int

degree of Vlm

m: int

order of Vlm

theta: Nx1 array

evaluation points, theta at spherical coordinates

phi: Nx1 array

evaluation points, phi at spherical coordinates

Returns
Vlm: Nx3 array

Vlm at (theta, phi).