Shapelets provide reference access to various shapelet functions and some of their applications.
Project description
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}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shapelets-1.3.tar.gz.
File metadata
- Download URL: shapelets-1.3.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6d3a43268cc6dcdbf2743b1d6518d3cf571b52f57eaf5ac8bf86c079ecac6fa
|
|
| MD5 |
ebd8751e4ec9b759e8f2c076bbb3201a
|
|
| BLAKE2b-256 |
e8be98cb05b23f52ba9833ebe2b9205c0e2911da0ce4d70b412d62d379c1a709
|
File details
Details for the file shapelets-1.3-py3-none-any.whl.
File metadata
- Download URL: shapelets-1.3-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e9068b908fe170d518795f37cb16cf2d7c8693a6b0eb0586ac24b4e6b61e61c
|
|
| MD5 |
b424927019adeb5f43c151cc5d995452
|
|
| BLAKE2b-256 |
6d077607d6455371871c78ccfaf3d98c47909d3bff94dd6cf00ec5a9c6570715
|