Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.2%) to scientific vocabulary
Repository
Fast Legendre transform for NumPy and JAX
Basic Info
- Host: GitHub
- Owner: ntessore
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://flt.readthedocs.io
- Size: 72.3 KB
Statistics
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 1
- Releases: 7
Metadata Files
README.md
flt
Fast Legendre transform for NumPy and JAX
This is a minimal Python package for fast discrete Legendre transforms (DLTs). The implementation uses a recursive version of the matrix relations by Alpert & Rokhlin (1991) to compute the DLT via a discrete cosine transform (DCT).
The package can be installed using pip:
pip install flt
For more information, please see the documentation.
Current functionality covers the absolutely minimal use case. Please open an issue on GitHub if you would like to see anything added.
Array backends
The flt package supports generic array backends via single dispatch.
Currently available implementations are:
- NumPy (+SciPy)
- JAX
Other implementations are easily added, even from third-party code, and will be
picked up by the flt methods automatically.
Example
The main functionality of the flt module in contained in the pair flt.dlt
and flt.idlt of discrete Legendre transforms:
```py
import jax import flt key = jax.random.key(42) x = jax.random.uniform(key, shape=(100,)) a = flt.dlt(x) y = flt.idlt(a) jax.numpy.allclose(x, y) Array(True, dtype=bool) ```
Owner
- Name: Nicolas Tessore
- Login: ntessore
- Kind: user
- Location: UK
- Company: University College London
- Website: ntessore.page
- Repositories: 48
- Profile: https://github.com/ntessore
cosmology and statistics on the sphere
Citation (CITATION.md)
The Fast Legendre Transformation employed in this package carries out a FLT by means of a DCT. This was first described by Alpert & Rokhlin (1991): > Alpert, B. K., & Rokhlin, V., 1991, SIAM Journal on Scientific and > Statistical Computing, 12, 158. doi:10.1137/0912009 The specific implementation transforms between DCT and FLT using a recurrence, without explicitly constructing the matrix of Alpert & Rokhlin (1991). For more information, see: > Tessore N., Loureiro A., Joachimi B., von Wietersheim-Kramsta M., Jeffrey N., > 2023, OJAp, 6, 11. doi:10.21105/astro.2302.01942
GitHub Events
Total
- Create event: 12
- Release event: 2
- Issues event: 4
- Watch event: 1
- Delete event: 11
- Issue comment event: 3
- Push event: 21
- Pull request review event: 5
- Pull request event: 22
Last Year
- Create event: 12
- Release event: 2
- Issues event: 4
- Watch event: 1
- Delete event: 11
- Issue comment event: 3
- Push event: 21
- Pull request review event: 5
- Pull request event: 22
Committers
Last synced: over 3 years ago
All Time
- Total Commits: 7
- Total Committers: 1
- Avg Commits per committer: 7.0
- Development Distribution Score (DDS): 0.0
Top Committers
| Name | Commits | |
|---|---|---|
| Nicolas Tessore | n****e@u****k | 7 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 2
- Total pull requests: 36
- Average time to close issues: 21 days
- Average time to close pull requests: 11 days
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.19
- Merged pull requests: 25
- Bot issues: 0
- Bot pull requests: 32
Past Year
- Issues: 2
- Pull requests: 12
- Average time to close issues: 21 days
- Average time to close pull requests: 11 days
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.25
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 8
Top Authors
Issue Authors
- ntessore (2)
Pull Request Authors
- dependabot[bot] (41)
- ntessore (4)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 24,385 last-month
- Total dependent packages: 1
- Total dependent repositories: 1
- Total versions: 8
- Total maintainers: 1
pypi.org: flt
Fast Legendre transform for NumPy and JAX
- Homepage: https://github.com/ntessore/flt
- Documentation: https://flt.readthedocs.io/
- License: MIT
-
Latest release: 2022.10.17
published over 3 years ago