bfieldtools.sphtools.ylm¶
-
bfieldtools.sphtools.
ylm
(l, m, theta, phi)¶ Real spherical harmonics as defined by Plattner and Simons (2014); see Eqs. 1–3 in https://arxiv.org/pdf/1306.3201.pdf.
- Parameters
- l: int
degree of Ylm
- m: int
order of Ylm
- theta: Nx1 array
evaluation points, theta at spherical coordinates
- phi: Nx1 array
evaluation points, phi at spherical coordinates
- Returns
- Ylm: Nx1 array
Ylm at (theta,phi)