spherical_harmonic

Function spherical_harmonic 

Source
pub fn spherical_harmonic(
    l: usize,
    m: isize,
    costheta: f64,
    phi: f64,
) -> Complex64
Expand description

Computes the spherical harmonic $Y_{\ell}^m(\theta, \phi)$ (given $\cos\theta$). Note that this formulation includes the Condon-Shortley phase.