-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add (scalar) spherical harmonic transforms #68
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment was marked as outdated.
This comment was marked as outdated.
Closed
9ab9199
to
a96d290
Compare
42d3fc0
to
3d2f448
Compare
168aeec
to
072f50f
Compare
...by actually making use of the symmetry over the equator. The loop was incorrectly running over all rings rather than only the northern half.
On an equidistant cylindrical projection (ECP) grid, we know several facts about symmetry and locations of pixels, so improve upon the reference implementation with a method that adds optimizations appropriate for isolatitude rings. Completes the symmetry of the existing `synthesize_ecp`.
Part 1 just adds very basic analytical checks of the reference implementation.
With increasing infrastructure in the general form (and passing chains of tests building up to generic implementation), move the slow/specific reference functions to the tests file to reduce code compiled into the module itself.
These are useful in implementing linear algebra-like operations on spherical harmonic coefficients without unnecessarily including nearly half of the always-zero matrix elements above the main diagonal
035deee
to
ef06d7a
Compare
This is required to solve for quadrature weights in the spherical harmonic analysis transform of arbitrary pixelizations. Handle null vector and exact initial conditions in C.G. better - Avoid any iteration when initial condition is already sufficiently accurate - Less-than-or-equal tolerance check handles cases when result is exact, and therefore avoids a division by zero in constructing the iterative update
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.