Sign of spherical harmonic for negative odd m

Issue #16 resolved
Former user created an issue

Hi,

Thank you for your code!

I used function SH_to_spat_cplx to do scalar complex synthesis and it works in a way that spherical harmonic Y(l;m) = conjugate(Y(l;-m)), not Y(l;m) = (-1)^m*conjugate(Y(l;-m)) as I expected. Is that supposed to be so or I am doing something wrong?

Timur

Comments (5)

  1. Nathanaël Schaeffer repo owner

    Hello,

    Thanks for reporting this.

    The latest commit should now fix this issue. You can get it here.

    Complex spherical harmonics, as used by SH_to_spat_cplx() and spat_cplx_to_SH(), do conform to this relation: Y(l;m) = (-1)^m*conjugate(Y(l;-m))

    The default normalization (orthonormal with Condon-Shortley phase) should now give you Spherical Harmonics as defined on the wikipedia page

  2. Log in to comment