bfieldtools.sphtools.lpmn_em

bfieldtools.sphtools.lpmn_em(l, m, x)

Computes associated Legendre function (Plm) of the first kind of order m and degree l.

Parameters
l: int

degree of Plm

m: int

order of Plm

x: Nx1 array

evaluation points

Returns
lp: Nx1 array

Plm at x