Skip to main content

real_spherical_harmonic

Function real_spherical_harmonic 

Source
pub fn real_spherical_harmonic(l: u32, m: i32, theta: f64, phi: f64) -> f64
Expand description

The real spherical harmonic: √2 (−1)^m Re Y_l^m for m > 0, Y_l^0 for m = 0 and √2 (−1)^m Im Y_l^{|m|} for m < 0, i.e. √2 P̄_l^{|m|} (−1)^m cos(mφ) or sin(|m|φ). These form a real orthonormal basis.