bfieldtools.sphtools.dthylm

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

Derivative of Ylm with respect to theta dYlm/dtheta.

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
dthylm: Nx1 array

dYlm/dtheta at (theta, phi).