use spherical harmonics to calculate visibilities