Revision history [back]

Rotation of zonal spherical functions

I tried to rotate zonal spherical function, projected onto spherical harmonic basis. Something goes wrong. Then I tried to rotate just one spherical harmonics zonal basis function and I also can't do it, except for band 0 (trivial case, because it is just a sphere) and for band 1.

sage: def spherical_point(phi, z, f):
color = 'blue'
color = 'red'

If dir_phi and dir_theta differs from zero, then I only see a deformed zonal spherical harmonics of the band band.
The only I can suspect is that spherical_harmonic are not normalized properly. Is it true?