Skip to content

Commit 3444a42

Browse files
authored
Merge pull request #168 from astro-informatics/v1.0.0
V1.0.0
2 parents f17f9af + e99072e commit 3444a42

File tree

6 files changed

+35
-26
lines changed

6 files changed

+35
-26
lines changed

.pip_readme.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.. image:: https://github.com/astro-informatics/s2fft/actions/workflows/tests.yml/badge.svg?branch=main
22
:target: https://github.com/astro-informatics/s2fft/actions/workflows/tests.yml
3-
.. image:: https://img.shields.io/badge/GitHub-PyTemplate-brightgreen.svg?style=flat
3+
.. image:: https://img.shields.io/badge/GitHub-s2fft-brightgreen.svg?style=flat
44
:target: https://github.com/astro-informatics/s2fft
55
.. image:: https://codecov.io/gh/astro-informatics/s2fft/branch/main/graph/badge.svg?token=7QYAFAAWLE
66
:target: https://codecov.io/gh/astro-informatics/s2fft
77
.. image:: https://img.shields.io/badge/License-MIT-yellow.svg
88
:target: https://opensource.org/licenses/MIT
9-
.. image:: http://img.shields.io/badge/arXiv-xxxx.xxxxx-orange.svg?style=flat
10-
:target: https://arxiv.org/abs/xxxx.xxxxx
9+
.. image:: http://img.shields.io/badge/arXiv-2311.14670-orange.svg?style=flat
10+
:target: https://arxiv.org/abs/2311.14670
1111
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
1212
:target: https://github.com/psf/black
1313
.. image:: https://colab.research.google.com/assets/colab-badge.svg
@@ -29,7 +29,7 @@ available resources and desired angular resolution $L$.
2929

3030
Documentation
3131
=============
32-
Read the full documentation [here](https://astro-informatics.github.io/s2fft/#).
32+
Read the full documentation `here <https://astro-informatics.github.io/s2fft/>`_.
3333

3434
Attribution
3535
===========
@@ -39,11 +39,11 @@ referenced. A BibTeX entry for this reference may look like:
3939
.. code-block::
4040
4141
@article{price:s2fft,
42-
author = "Matthew A. Price and Jason D. McEwen and Contributors",
42+
author = "Matthew A. Price and Jason D. McEwen",
4343
title = "Differentiable and accelerated spherical harmonic and Wigner transforms",
4444
journal = "Journal of Computational Physics",
4545
year = "2023",
46-
eprint = "arXiv:0000.00000"
46+
eprint = "arXiv:2311.14670"
4747
}
4848
4949
You might also like to consider citing our related papers on which this

README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[![image](https://github.com/astro-informatics/s2fft/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/astro-informatics/s2fft/actions/workflows/tests.yml)
22
[![image](https://codecov.io/gh/astro-informatics/s2fft/branch/main/graph/badge.svg?token=7QYAFAAWLE)](https://codecov.io/gh/astro-informatics/s2fft)
33
[![image](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4-
[![image](http://img.shields.io/badge/arXiv-xxxx.xxxxx-orange.svg?style=flat)](https://arxiv.org/abs/xxxx.xxxxx)<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
4+
[![image](https://badge.fury.io/py/s2fft.svg)](https://badge.fury.io/py/s2fft)
5+
[![image](http://img.shields.io/badge/arXiv-2311.14670-orange.svg?style=flat)](https://arxiv.org/abs/2311.14670)<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
56
[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-) <!-- ALL-CONTRIBUTORS-BADGE:END -->
6-
[![image](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
77
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1YmJ2ljsF8HBvhPmD4hrYPlyAKc4WPUgq?usp=sharing)
8+
<!-- [![image](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) -->
89

910
<img align="left" height="85" width="98" src="./docs/assets/sax_logo.png">
1011

@@ -69,6 +70,9 @@ pixels of equal areas, which has many practical advantages.
6970

7071
<p align="center"><img src="./docs/assets/figures/spherical_sampling.png" width="500"></p>
7172

73+
> [!NOTE]
74+
> For algorithmic reasons JIT compilation of HEALPix transforms can become slow at high bandlimits, due to XLA unfolding of loops which currently cannot be avoided. After compiling HEALPix transforms should execute with the efficiency outlined in the associated paper, therefore this additional time overhead need only be incurred once. We are aware of this issue and will work to improve this in subsequent versions.
75+
7276
## Installation :computer:
7377

7478
The Python dependencies for the `S2FFT` package are listed in the file
@@ -86,14 +90,14 @@ executed to ensure the installation was successful by running
8690
pytest tests/
8791
```
8892

89-
In the very near future one will be able to install `S2FFT` directly
90-
from [PyPi](https://pypi.org) by `pip install s2fft` but this is not yet
91-
supported. Note that to run `JAX` on NVIDIA GPUs you will need to follow
92-
the [guide](https://github.com/google/jax#installation) outlined by
93-
Google.
93+
Alternatively, the `S2FFT` package may be installed directly from PyPi by running
94+
95+
``` bash
96+
pip install s2fft
97+
```
9498

95-
Note: For plotting functionality which can be found throughout our various notebooks, one
96-
must install the requirements which can be found in `requirements/requirements-plotting.txt`.
99+
> [!NOTE]
100+
> For plotting functionality which can be found throughout our various notebooks, one must install the requirements which can be found in `requirements/requirements-plotting.txt`.
97101
98102
## Usage :rocket:
99103

@@ -178,11 +182,11 @@ referenced. A BibTeX entry for this reference may look like:
178182

179183
```
180184
@article{price:s2fft,
181-
author = "Matthew A. Price and Jason D. McEwen and Contributors",
185+
author = "Matthew A. Price and Jason D. McEwen",
182186
title = "Differentiable and accelerated spherical harmonic and Wigner transforms",
183187
journal = "Journal of Computational Physics",
184188
year = "2023",
185-
eprint = "arXiv:0000.00000"
189+
eprint = "arXiv:2311.14670"
186190
}
187191
```
188192

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"logo_only": True,
9595
"display_version": False,
9696
"navbar_align": "left",
97-
"announcement": "s2fft is currently in an open alpha, please provide feedback on GitHub",
97+
"announcement": "s2fft is currently in an open beta, please provide feedback on GitHub",
9898
"show_toc_level": 2,
9999
"show_nav_level": 1,
100100
"header_links_before_dropdown": 5,

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ article is referenced. A BibTeX entry for this reference may look like:
8282
.. code-block::
8383
8484
@article{price:s2fft,
85-
author = "Matthew A. Price and Jason D. McEwen and Contributors",
85+
author = "Matthew A. Price and Jason D. McEwen",
8686
title = "Differentiable and accelerated spherical harmonic and Wigner transforms",
8787
journal = "Journal of Computational Physics",
8888
year = "2023",
89-
eprint = "arXiv:0000.00000"
89+
eprint = "arXiv:2311.14670"
9090
}
9191
9292
You might also like to consider citing our related papers on which this code builds:

docs/user_guide/install.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ from PyPi, an online python package manager.
1111

1212
Quick install (PyPi)
1313
--------------------
14-
Coming very soon.
14+
The simplest way to pick up ``S2FFT`` is to install it directly from PyPi by running
15+
16+
.. code-block:: bash
17+
18+
pip install s2fft
19+
20+
after which ``S2FFT`` may be imported and run as outlined in the associated notebooks and collab tutorials.
1521

1622
Install from source (GitHub)
1723
----------------------------

setup.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,19 @@
1515
"Programming Language :: Python :: 3.8",
1616
"Programming Language :: Python :: 3.9",
1717
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
1819
"Operating System :: OS Independent",
1920
"Intended Audience :: Developers",
2021
"Intended Audience :: Science/Research",
2122
],
2223
name="s2fft",
23-
version="0.0.1",
24+
version="1.0.0",
2425
url="https://github.com/astro-informatics/s2fft",
2526
author="Matthew A. Price, Jason D. McEwen & Contributors",
26-
license="GNU General Public License v3 (GPLv3)",
27+
license="MIT",
2728
python_requires=">=3.8",
2829
install_requires=requirements,
29-
description=(
30-
"Differentiable and accelerated spin-spherical harmonic transforms with JAX"
31-
),
30+
description=("Differentiable and accelerated spherical transforms with JAX"),
3231
long_description_content_type="text/x-rst",
3332
long_description=long_description,
3433
packages=find_packages(),

0 commit comments

Comments
 (0)