https://github.com/punch-mission/regularizepsf
A Python package for manipulating and correcting variable point spread functions.
https://github.com/punch-mission/regularizepsf
astronomical-algorithms astronomy astronomy-astrophysics astronomy-software image-processing point-spread-function psf psf-estimation punch solar-physics
Last synced: about 1 month ago
JSON representation
A Python package for manipulating and correcting variable point spread functions.
- Host: GitHub
- URL: https://github.com/punch-mission/regularizepsf
- Owner: punch-mission
- License: other
- Created: 2022-10-21T21:54:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-06T11:04:07.000Z (4 months ago)
- Last Synced: 2025-12-16T15:11:54.106Z (3 months ago)
- Topics: astronomical-algorithms, astronomy, astronomy-astrophysics, astronomy-software, image-processing, point-spread-function, psf, psf-estimation, punch, solar-physics
- Language: Python
- Homepage: https://regularizepsf.readthedocs.io/en/latest/
- Size: 26.2 MB
- Stars: 20
- Watchers: 2
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
Awesome Lists containing this project
README
# regularizepsf
[](https://codecov.io/gh/punch-mission/regularizepsf)
[](https://zenodo.org/badge/latestdoi/555583385)
[](https://badge.fury.io/py/regularizepsf)
[](https://github.com/punch-mission/regularizepsf/actions/workflows/ci.yml)
A package for manipulating and correcting variable point spread functions.
Below is an example of correcting model data using the package. An initial image of a simplified starfield (a) is synthetically observed with a slowly
varying PSF (b), then regularized with this technique (c). The final image visually matches a direct convolution of
the initial image with the target PSF (d). The panels are gamma-corrected to highlight the periphery of the model PSFs.

## Getting started
`pip install regularizepsf` and then follow along with the [documentation](https://regularizepsf.readthedocs.io/en/latest/index.html).
## Contributing
We encourage all contributions. If you have a problem with the code or would like to see a new feature, please open an issue. Or you can submit a pull request.
If you're contributing code please see [this package's development guide](https://regularizepsf.readthedocs.io/en/latest/development.html).
## License
See [LICENSE file](LICENSE)
## Need help?
Please ask a question in our [discussions](https://github.com/punch-mission/regularizepsf/discussions)
## Citation
Please cite [the associated paper](https://iopscience.iop.org/article/10.3847/1538-3881/acc578) if you use this technique:
```
@article{Hughes_2023,
doi = {10.3847/1538-3881/acc578},
url = {https://dx.doi.org/10.3847/1538-3881/acc578},
year = {2023},
month = {apr},
publisher = {The American Astronomical Society},
volume = {165},
number = {5},
pages = {204},
author = {J. Marcus Hughes and Craig E. DeForest and Daniel B. Seaton},
title = {Coma Off It: Regularizing Variable Point-spread Functions},
journal = {The Astronomical Journal}
}
```
If you use this software, please also cite the package with the specific version used. [Zenodo always has the most up-to-date citation](https://zenodo.org/records/10066960).