bfieldtools.sphtools.sinxlm

bfieldtools.sphtools.sinxlm(l, m, theta)

Computes m/(sin(theta))*Xlm.

Parameters
l: int

degree of Xlm

m: int

order of Xlm

theta: Nx1 array

evaluation points, theta at spherical coordinates

Returns
sinxlm: Nx1 array

m/(sin(theta))*Xlm at theta