Skip to content

Add spin-weighted spherical harmonics #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 27, 2020

Conversation

MikaelSlevinsky
Copy link
Member

@MikaelSlevinsky MikaelSlevinsky commented Apr 26, 2020

This adds support for spin-weighted spherical harmonics based on the minor release https://github.com/MikaelSlevinsky/FastTransforms/releases/tag/v0.3.0. The spin-weighted spherical harmonics are L^2 orthonormal, use a complex Fourier series for the longitudinal basis, have positive real phase, and only support complex coefficients. There is an example (spinweighted.jl) to get folks started and comfortable with the convention. Spin-0 === spherical harmonics with complex Fourier basis (Laurent in ApproxFun).

There are other goodies in that minor release that are added, e.g. SIMD Horner's rule and Clenshaw's algorithm. The computational kernels have a new API to be a little bit more flexible to new more exotic multivariate orthogonal polynomials that are isomorphic to the canonical spherical/disk/triangular settings.

I accidentally broke the tetrahedral harmonics, but that can be fixed with a patch release to this series (v0.9).

@codecov
Copy link

codecov bot commented Apr 26, 2020

Codecov Report

Merging #103 into master will decrease coverage by 5.70%.
The diff coverage is 56.89%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
- Coverage   81.06%   75.36%   -5.71%     
==========================================
  Files          12       12              
  Lines        1273     1368      +95     
==========================================
- Hits         1032     1031       -1     
- Misses        241      337      +96     
Impacted Files Coverage Δ
src/FastTransforms.jl 100.00% <ø> (ø)
src/specialfunctions.jl 47.11% <31.03%> (-7.18%) ⬇️
src/libfasttransforms.jl 75.08% <82.75%> (-12.52%) ⬇️
src/fftBigFloat.jl 81.20% <0.00%> (-1.88%) ⬇️
src/gaunt.jl 83.78% <0.00%> (-1.15%) ⬇️
src/chebyshevtransform.jl 77.37% <0.00%> (-1.15%) ⬇️
src/nufft.jl 94.76% <0.00%> (-0.56%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 84be69f...5f1f93f. Read the comment docs.

@MikaelSlevinsky MikaelSlevinsky merged commit 4889931 into master Apr 27, 2020
@MikaelSlevinsky MikaelSlevinsky deleted the feat-spinweighted-spherical-harmonics branch April 27, 2020 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant