Skip to content
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

WIP: Implement spherical harmonic transforms on only observed portions of the map #5

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmert
Copy link
Owner

@jmert jmert commented Apr 23, 2020

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.

  • Add utility function to scan a given full-sky map for the list of rings which have observed pixel values. (Observed defined as non-zero and non-NaN.)
  • Add an interface to provide a map with an explicit pixel list. (The true cut-sky input.)
    • Will require a transform back and forth between cut-sky to cut-rings format.
  • Add an interface to request a subset of the sky be synthesized from a given set of alms.

(Replaces #3 which I managed to close and can't open again)

This feature will eventually be used to limit the set of rings that the
harmonic transforms are actually executed upon.

Temporarily, the utility function is exposed via a new dispatchable
ID from the MEX function, though no helper Matlab script is provided.
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.

None yet

1 participant