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

Add (scalar) spherical harmonic transforms #68

Closed
wants to merge 20 commits into from
Closed

Add (scalar) spherical harmonic transforms #68

wants to merge 20 commits into from

Conversation

jmert
Copy link
Owner

@jmert jmert commented Mar 24, 2022

No description provided.

@codecov

This comment was marked as outdated.

@jmert jmert mentioned this pull request Mar 24, 2022
@jmert jmert force-pushed the spharms branch 3 times, most recently from 9ab9199 to a96d290 Compare March 24, 2022 03:47
@jmert jmert force-pushed the spharms branch 3 times, most recently from 42d3fc0 to 3d2f448 Compare April 3, 2022 21:31
@jmert jmert force-pushed the spharms branch 3 times, most recently from 168aeec to 072f50f Compare May 2, 2022 03:07
jmert added 19 commits June 19, 2022 14:10
...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
@jmert jmert force-pushed the spharms branch 2 times, most recently from 035deee to ef06d7a Compare July 10, 2022 21:53
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant