Skip to content

Commit

Permalink
Merge branch 'main' into 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbhughes authored Dec 29, 2022
2 parents 91f4dad + b29b6aa commit 9923937
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Test with pytest
run: |
pip install .
python setup.py pytest --addopts "--cov psfpy"
python setup.py pytest --addopts "--cov ."
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
verbose: true
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# regularizepsf
[![codecov](https://codecov.io/gh/punch-mission/regularizepsf/branch/main/graph/badge.svg?token=pn4NTO70I9)](https://codecov.io/gh/punch-mission/regularizepsf)
[![DOI](https://zenodo.org/badge/555583385.svg)](https://zenodo.org/badge/latestdoi/555583385)
[![PyPI version](https://badge.fury.io/py/regularizepsf.svg)](https://badge.fury.io/py/regularizepsf)

A package for manipulating and correcting various point spread functions.
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.
![Example result image](model_example.png)

## Getting started

Expand All @@ -17,3 +22,27 @@ See LICENSE for the MIT license

## Need help?
Please contact Marcus Hughes at [[email protected]](mailto:[email protected]).

## Citation
Please cite the associated paper if you use this technique:

```
@misc{https://doi.org/10.48550/arxiv.2212.02594,
doi = {10.48550/ARXIV.2212.02594},
url = {https://arxiv.org/abs/2212.02594},
author = {Hughes, J. M. and DeForest, C. E. and Seaton, D. B.},
keywords = {Instrumentation and Methods for Astrophysics (astro-ph.IM), FOS: Physical sciences, FOS: Physical sciences},
title = {Coma Off It: Removing Variable Point Spread Functions from Astronomical Images},
publisher = {arXiv},
year = {2022},
copyright = {arXiv.org perpetual, non-exclusive license}
}
```
Binary file removed docs/images/punch.png
Binary file not shown.
Binary file added model_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9923937

Please sign in to comment.