Skip to content

Commit

Permalink
Deploying to gh-pages from @ f17f9af 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmoMatt committed Oct 13, 2023
1 parent a4fd077 commit a8bddba
Show file tree
Hide file tree
Showing 45 changed files with 840 additions and 56 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 7d6ef3275af9ac50eddf23518bdab2d1
config: 512fc16b171e63ce26f353e0a6716d16
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added _images/Wigner_recursion_github_docs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/sax_schematic_github_docs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/schematic.png
Binary file not shown.
64 changes: 39 additions & 25 deletions _sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,20 @@ distributed, and so map very well onto the architecture of hardware accelerators
GPUs and TPUs). In particular, these algorithms are based on new Wigner-d recursions
that are stable to high angular resolution :math:`L`. The diagram below illustrates the recursions (for further details see Price & McEwen 2023).

.. image:: ./assets/figures/schematic.png
.. image:: ./assets/figures/Wigner_recursion_github_docs.png

With this recursion to hand, the spherical harmonic coefficients of an
isolatitudinally sampled map may be computed as a two step process. First,
a 1D Fourier transform over longitude, for each latitudinal ring. Second,
a projection onto the real polar-d functions. One may precompute and store
all real polar-d functions for extreme acceleration, however this comes
with an equally extreme memory overhead, which is infeasible at L ~ 1024.
Alternatively, the real polar-d functions may calculated recursively,
computing only a portion of the projection at a time, hence incurring
negligible memory overhead at the cost of slightly slower execution. The
diagram below illustrates the separable spherical harmonic transform.

.. image:: ./assets/figures/sax_schematic_github_docs.png

Sampling |:earth_africa:|
-----------------------------------
Expand Down Expand Up @@ -68,41 +81,42 @@ article is referenced. A BibTeX entry for this reference may look like:

.. code-block::
@article{price:s2fft,
AUTHOR = "Matthew A. Price and Jason D. McEwen",
TITLE = "TBA",
YEAR = "2023",
EPRINT = "arXiv:0000.00000"
}
@article{price:s2fft,
author = "Matthew A. Price and Jason D. McEwen and Contributors",
title = "Differentiable and accelerated spherical harmonic and Wigner transforms",
journal = "Journal of Computational Physics",
year = "2023",
eprint = "arXiv:0000.00000"
}
You might also like to consider citing our related papers on which this code builds:

.. code-block::
@article{mcewen:fssht,
AUTHOR = "Jason D. McEwen and Yves Wiaux",
TITLE = "A novel sampling theorem on the sphere",
JOURNAL = "IEEE Trans. Sig. Proc.",
YEAR = "2011",
VOLUME = "59",
NUMBER = "12",
PAGES = "5876--5887",
EPRINT = "arXiv:1110.6298",
DOI = "10.1109/TSP.2011.2166394"
author = "Jason D. McEwen and Yves Wiaux",
title = "A novel sampling theorem on the sphere",
journal = "IEEE Trans. Sig. Proc.",
year = "2011",
volume = "59",
number = "12",
pages = "5876--5887",
eprint = "arXiv:1110.6298",
doi = "10.1109/TSP.2011.2166394"
}
.. code-block::
@article{mcewen:so3,
AUTHOR = "Jason D. McEwen and Martin B{\"u}ttner and Boris ~Leistedt and Hiranya V. Peiris and Yves Wiaux",
TITLE = "A novel sampling theorem on the rotation group",
JOURNAL = "IEEE Sig. Proc. Let.",
YEAR = "2015",
VOLUME = "22",
NUMBER = "12",
PAGES = "2425--2429",
EPRINT = "arXiv:1508.03101",
DOI = "10.1109/LSP.2015.2490676"
author = "Jason D. McEwen and Martin B{\"u}ttner and Boris ~Leistedt and Hiranya V. Peiris and Yves Wiaux",
title = "A novel sampling theorem on the rotation group",
journal = "IEEE Sig. Proc. Let.",
year = "2015",
volume = "22",
number = "12",
pages = "2425--2429",
eprint = "arXiv:1508.03101",
doi = "10.1109/LSP.2015.2490676"
}
License |:memo:|
Expand Down
5 changes: 2 additions & 3 deletions _sources/user_guide/install.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ When installing from source we recommend working within an existing conda enviro

.. code-block:: bash
conda create -n "env_name" python>=3.8
conda create -n "env_name" python>=3.9
conda activate "env_name"
Once within a fresh environment ``S2FFT`` may be installed by cloning the GitHub repository
Expand All @@ -37,8 +37,7 @@ installation was successful by running

.. code-block:: bash
pytest tests/ # for pytest
tox -e py38 # for tox
pytest tests/
In the very near future one will be able to install ``S2FFT`` directly from `PyPi` by ``pip install s2fft`` but this is not yet supported.

Expand Down
20 changes: 20 additions & 0 deletions api/base_transforms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down Expand Up @@ -293,6 +303,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down
20 changes: 20 additions & 0 deletions api/base_transforms/spin_spherical_transform.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down Expand Up @@ -295,6 +305,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down
20 changes: 20 additions & 0 deletions api/base_transforms/wigner_transform.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down Expand Up @@ -295,6 +305,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down
20 changes: 20 additions & 0 deletions api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down Expand Up @@ -293,6 +303,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down
20 changes: 20 additions & 0 deletions api/precompute_transforms/construct.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down Expand Up @@ -295,6 +305,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down
20 changes: 20 additions & 0 deletions api/precompute_transforms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down Expand Up @@ -293,6 +303,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down
20 changes: 20 additions & 0 deletions api/precompute_transforms/spin_spherical.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down Expand Up @@ -293,6 +303,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down
20 changes: 20 additions & 0 deletions api/precompute_transforms/wigner.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down Expand Up @@ -295,6 +305,16 @@



<a href="https://arxiv.org/abs/xxxx.xxxxx" title="ArXiv" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><img src="../../_static/arxiv-logomark-small.png" class="icon-link-image" alt="ArXiv"/></a>
</li>
<li class="nav-item">







<a href="https://github.com/astro-informatics/s2fft/" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-toggle="tooltip"><span><i class="fa-brands fa-github fa-2x"></i></span>
<label class="sr-only">GitHub</label></a>
</li>
Expand Down
Loading

0 comments on commit a8bddba

Please sign in to comment.