bfieldtools.sphtools.xlm¶
-
bfieldtools.sphtools.
xlm
(l, m, theta)¶ Xlm-function used in the definition of spherical harmonics (Ylm). Follows notation of Plattner and Simons (2014); see Eqs. 1–3 in https://arxiv.org/pdf/1306.3201.pdf.
- Parameters
- l: int
degree of Xlm
- m: int
order of Xlm
- theta: Nx1 array
evaluation points, theta at spherical coordinates
- Returns
- Xlm: Nx1 array
Xlm at theta