Main Features | Getting Started | Contribute | Citation
What is shapelets?
Shapelets is a Python library that implements several shapelet functions and some of their applications in science and engineering. Shapelet functions are a complete and orthogonal set of localized basis functions with mathematical properties convenient for various image analyses. Existing applications from the literature include:
- Astronomy/astrophysics [A. Refregier (2003), R. Massey (2005), J. Berge (2019)]
- Nanostructure characterization [R. Suderman (2015), T. Akdeniz (2018), M. P. Tino (2024)]
- Computational neuroscience [J. D. Victor (2006), T. O. Sharpee (2009)]
- Medical imaging [J. Weissman (2004)]
Main features
Shapelets provides implementations of the following shapelet functions from shapelets.functions
- Cartesian shapelets [A. Refregier (2003)]
- Polar shapelets [R. Massey (2005)]
- Exponential shapelets [J. Berge (2019)]
- Orthonormal polar shapelets with no radial symmetry [T. Akdeniz (2018)]
- Orthonormal polar shapelets with one degree of radial extrema [M. P. Tino (2024)]
It also implements several shapelets applications, such as
- The response distance method [R. Suderman (2015)] - see example 1
- The defect identification method [M. P. Tino (2024)] - see example 2
- The local pattern orientation method [M. P. Tino (2024)] - see example 3
- Galaxy decomposition and reconstruction [A. Refregier (2003)] - see example 4
Getting Started
Installation
If you have Python 3.10+ installed on your machine, you can install the shapelets library via pip:
pip install shapelets
Otherwise, consult the installation guide.
Using Shapelets
See the shapelets examples for shapelets applications implemented with this package.
Also checkout our custom commands to see how to use shapelets from the command-line.
Contribute
The authors of the shapelets library welcome contributions to the source code. Please follow the contribution policy here.
Citation
@article{TinoShapelets2024,
author = {Tino, Matthew Peres and Abdulaziz, Abbas Yusuf and Suderman, Robert and Akdeniz, Thomas and Abukhdeir, Nasser Mohieddin},
title = {Shapelets: A Python package implementing shapelet functions and their applications},
doi = {10.21105/joss.06058},
journal = {Journal of Open Source Software},
number = {95},
pages = {6058},
volume = {9},
year = {2024},
url = {https://joss.theoj.org/papers/10.21105/joss.06058}
}
Release files for shapelets 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| shapelets-1.3.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| shapelets-1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:3.1 MB
Release files / shapelets-1.3.tar.gz
| Download URL | shapelets-1.3.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6d3a43268cc6dcdbf2743b1d6518d3cf571b52f57eaf5ac8bf86c079ecac6fa
|
|
BLAKE2b-256 checksum How to use checksums |
e8be98cb05b23f52ba9833ebe2b9205c0e2911da0ce4d70b412d62d379c1a709
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / shapelets-1.3-py3-none-any.whl
| Download URL | shapelets-1.3-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e9068b908fe170d518795f37cb16cf2d7c8693a6b0eb0586ac24b4e6b61e61c
|
|
BLAKE2b-256 checksum How to use checksums |
6d077607d6455371871c78ccfaf3d98c47909d3bff94dd6cf00ec5a9c6570715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|