|
4 | 4 |
|
5 | 5 | [](https://doi.org/10.21105/joss.06058) |
6 | 6 |
|
7 | | -[**Getting Started**](#getting-started) |
8 | | -| [**Issues**](#issues) |
| 7 | +[**Main Features**](#main-features) |
| 8 | +| [**Getting Started**](#getting-started) |
9 | 9 | | [**Contribute**](#contribute) |
10 | 10 | | [**Citation**](#citation) |
11 | | -| [**Authors**](#authors) |
12 | 11 |
|
13 | 12 | ## What is shapelets? |
14 | 13 |
|
15 | | -Shapelets is a Python-based 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 image analysis and manipulation. Applications include: |
| 14 | +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: |
16 | 15 |
|
17 | 16 | * Astronomy/astrophysics ([A. Refregier (2003)](https://doi.org/10.1046/j.1365-8711.2003.05901.x), [R. Massey (2005)](https://doi.org/10.48550/arXiv.astro-ph/0408445), [J. Berge (2019)](https://doi.org/10.48550/arXiv.1903.05837)) |
18 | 17 | * Nanostructure characterization ([R. Suderman (2015)](http://dx.doi.org/10.1103/PhysRevE.91.033307), [T. Akdeniz (2018)](https://doi.org/10.1088/1361-6528/aaf353), [M. P. Tino (2024)](http://dx.doi.org/10.1088/1361-6528/ad1df4)) |
19 | 18 | * Computational neuroscience ([J. D. Victor (2006)](https://doi.org/10.1152/jn.00498.2005), [T. O. Sharpee (2009)](https://doi.org/10.1007%2Fs10827-008-0107-5)) |
20 | 19 | * Medical imaging ([J. Weissman (2004)](https://doi.org/10.1364/OPEX.12.005760)) |
21 | 20 |
|
22 | | -The shapelets library provides reference code and documentation for the following shapelet functions: |
| 21 | +## Main features |
23 | 22 |
|
24 | | -* Cartesian shapelets ([A. Refregier (2003)](https://doi.org/10.1046/j.1365-8711.2003.05901.x)) |
| 23 | +Shapelets provides implementations of the following shapelet functions from ``shapelets.core.functions`` |
| 24 | + |
| 25 | +* Cartesian shapelets ([A. Refregier (2003)](https://doi.org/10.1046/j.1365-8711.2003.05901.x)) |
25 | 26 | * Polar shapelets ([R. Massey (2005)](https://doi.org/10.48550/arXiv.astro-ph/0408445)) |
26 | 27 | * Exponential shapelets ([J. Berge (2019)](https://doi.org/10.48550/arXiv.1903.05837)) |
27 | | -* Orthonormal polar shapelets ([T. Akdeniz (2018)](https://doi.org/10.1088/1361-6528/aaf353), [M. P. Tino (2024)](https://hdl.handle.net/10012/20779)) |
| 28 | +* Orthonormal polar shapelets with no radial extrema ([T. Akdeniz (2018)](https://doi.org/10.1088/1361-6528/aaf353)) |
| 29 | +* Orthonormal polar shapelets with one degree of radial extrema ([M. P. Tino (2024)](https://hdl.handle.net/10012/20779)) |
| 30 | + |
| 31 | +It also implements several shapelets applications, such as |
| 32 | +* The response distance method ([R. Suderman (2015)](http://dx.doi.org/10.1103/PhysRevE.91.033307)) - see [example 1](https://uw-comphys.github.io/shapelets/shapelets/docs/example_1.html) |
| 33 | +* The defect identification method ([M. P. Tino (2024)](http://dx.doi.org/10.1088/1361-6528/ad1df4)) - see [example 2](https://uw-comphys.github.io/shapelets/shapelets/docs/example_2.html) |
| 34 | +* The local pattern orientation method ([M. P. Tino (2024)](http://dx.doi.org/10.1088/1361-6528/ad1df4)) - see [example 3](https://uw-comphys.github.io/shapelets/shapelets/docs/example_3.html) |
| 35 | +* Galaxy decomposition and reconstruction ([A. Refregier (2003)](https://doi.org/10.1046/j.1365-8711.2003.05901.x)) - see [example 4](https://uw-comphys.github.io/shapelets/shapelets/docs/example_4.html) |
28 | 36 |
|
29 | 37 | ## Getting Started |
30 | 38 |
|
31 | 39 | If you have Python 3.10+ installed on your machine, you can install the shapelets library via pip: |
32 | 40 |
|
33 | 41 | pip install shapelets |
34 | 42 |
|
35 | | -Otherwise, consult the [official website](https://uw-comphys.github.io/shapelets/shapelets.html) for installation instructions. |
36 | | - |
37 | | -## Issues |
38 | | - |
39 | | -If you encounter any **problems** with shapelets, please create a post using the [issue tracker](https://github.com/uw-comphys/shapelets/issues). Provide a clear and concise description of the problem with images/code-snippets where appropriate. We will address these problems as fast as possible. |
| 43 | +Otherwise, consult the [installation guide](https://uw-comphys.github.io/shapelets/shapelets/docs/installation_guide.html). |
| 44 | +If you plan to use the shapelets library for your own work, please cite appropriately using this [citation](#citation). |
| 45 | +For any problems, create a post using the [issue tracker](https://github.com/uw-comphys/shapelets/issues). |
40 | 46 |
|
41 | 47 | ## Contribute |
42 | 48 |
|
43 | | -The authors of the shapelets library welcome contributions to the source code. Please follow the contribution policy: |
44 | | - |
45 | | -* Open an issue on the library [issue tracker](https://github.com/uw-comphys/shapelets/issues) clearly describing your intentions on code modifications |
46 | | -* Ensure your modifications or additions adhere to the existing standard of the shapelets library (i.e. how are your docstrings?) |
47 | | -* Test your modifications to ensure the integrity of the library is intact via the entry point: `shapelets-test` |
48 | | - |
49 | | -* Once the issue has been discussed with a library author, you may open a pull request containing your modifications |
| 49 | +The authors of the shapelets library welcome contributions to the source code. |
| 50 | +Please follow the contribution policy [here](https://github.com/uw-comphys/shapelets/blob/main/CONTRIBUTE.md). |
50 | 51 |
|
51 | 52 | ## Citation |
52 | | - |
53 | | -If you plan to use shapelets in your own work, please cite using the **Cite this repository** dropdown button on the top right of this page (under *About*). |
54 | | - |
55 | | -## Authors |
56 | | - |
57 | | -* Matthew Peres Tino (mptino@uwaterloo.ca) |
58 | | -* Abbas Yusuf Abdulaziz |
59 | | -* Nasser Mohieddin Abukhdeir |
60 | | -* Robert Suderman |
61 | | -* Thomas Akdeniz |
| 53 | +``` |
| 54 | +@article{TinoShapelets2024, |
| 55 | +author = {Tino, Matthew Peres and Abdulaziz, Abbas Yusuf and Suderman, Robert and Akdeniz, Thomas and Abukhdeir, Nasser Mohieddin}, |
| 56 | +title = {Shapelets: A Python package implementing shapelet functions and their applications}, |
| 57 | +doi = {10.21105/joss.06058}, |
| 58 | +journal = {Journal of Open Source Software}, |
| 59 | +number = {95}, |
| 60 | +pages = {6058}, |
| 61 | +volume = {9}, |
| 62 | +year = {2024}, |
| 63 | +url = {https://joss.theoj.org/papers/10.21105/joss.06058} |
| 64 | +} |
| 65 | +``` |
0 commit comments