WIP: Implement spherical harmonic transforms on only observed portions of the map #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The goal is to reduce the computation time spent on performing the spherical harmonic transforms for maps which cover only a small fraction of the sky. The BICEP/Keck (BK) analysis has long relied on a customized version of
synfast
which can output such "cut-sky" maps to save time (and disk space) on the alms → map transform, but the same ability for map → alms is in principle possible as well.This will be especially important to make spherical harmonic transforms of the BK maps economical when compared to the existing practice of using FFTs. The maps cover a very small fraction of the sphere, so doing full-sky transforms at all times is incredibly wasteful.
(Replaces #3 which I managed to close and can't open again)