bfieldtools.sphtools.Plm

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

Plm vector function (see Eq. 18 Plattner and Simons (2014)).

Parameters
l: int

degree of Plm

m: int

order of Plm

theta: Nx1 array

evaluation points, theta at spherical coordinates

phi: Nx1 array

evaluation points, phi at spherical coordinates

Returns
Plm: Nx3 array

Plm at (theta, phi).