Description
This issue is a placeholder for spherical harmonic bugs/enhancements that will be part of a patch:
-
the way the butterfly algorithm is currently implemented, it only works for dimensions that are powers of two, though nothing stops this from working for general dimensions. This afflicts
FastSphericalHarmonicPlan
andThinSphericalHarmonicPlan
. For the time being, it's recommended to just pad with zeros to thenextpow2
. -
the commands
sph2fourier
andfourier2sph
should work on different band limits inl
andm
. -
the command
plan_sph2fourier
is not type-stable as it very crudely dispatches to a differentSphericalHarmonicPlan
based on the bandlimit. This is negligible compared to pre-computation costs for large degrees (and is somewhat likened to Base'sfactorize
). -
the convenience constructors
sphrand
,sphrandn
, etc... takem
andn
and create an array with dimensionsm
and2n-1
which is arguably misleading. -
it would be great to have an allocation-free
FFTW
override for converting the bivariate Fourier array to function values on the sphere at tensor product grids equispaced in angle. (Added starting with 67a6b56) -
remove segmentation fault when using an even number of columns, thanks to @meggart for finding this. (Added starting with c0e4a54)
-
add methods for complex data,
-
and,
NUFFT
variants for nonuniform point.