bfieldtools.sphtools.Wlm¶
-
bfieldtools.sphtools.
Wlm
(l, m, theta, phi)¶ Vector basis function (Wlm) for r**l component of the magnetic field. Normalization <Wlm,Wkn> = delta_lk,mn.
- Parameters
- l: int
degree of Wlm
- m: int
order of Wlm
- theta: Nx1 array
evaluation points, theta at spherical coordinates
- phi: Nx1 array
evaluation points, phi at spherical coordinates
- Returns
- Wlm: Nx3 array
Wlm at (theta, phi).