See the documentation for treams.special.sph_harm().
treams.special.sph_harm()
treams.special.cython_special.pi_fun
treams.special.cython_special.spherical_hankel1