Inelastica.math.sphericalharmonics.sphericalHarmonics(l, m, costh, sinfi, cosfi)[source]

Spherical harmonics \(Y_\ell^m(\theta,\phi)\) derived from scipy.special.

Note: This function has been checked up to d-orbitals with the Siesta overlap matrix.

Parameters:
lint
mint
costhfloat
sinfifloat
cosfifloat
Returns:
Ylmcomplex