Skip to content

Commit 9923937

Browse files
authored
Merge branch 'main' into 0.0.3
2 parents 91f4dad + b29b6aa commit 9923937

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
lines changed

.github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- name: Test with pytest
3535
run: |
3636
pip install .
37-
python setup.py pytest --addopts "--cov psfpy"
37+
python setup.py pytest --addopts "--cov ."
3838
- name: Upload coverage to Codecov
3939
uses: codecov/codecov-action@v3
40+
with:
41+
fail_ci_if_error: true
42+
verbose: true

README.md

+30-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# regularizepsf
22
[![codecov](https://codecov.io/gh/punch-mission/regularizepsf/branch/main/graph/badge.svg?token=pn4NTO70I9)](https://codecov.io/gh/punch-mission/regularizepsf)
33
[![DOI](https://zenodo.org/badge/555583385.svg)](https://zenodo.org/badge/latestdoi/555583385)
4+
[![PyPI version](https://badge.fury.io/py/regularizepsf.svg)](https://badge.fury.io/py/regularizepsf)
45

5-
A package for manipulating and correcting various point spread functions.
6+
A package for manipulating and correcting variable point spread functions.
67

8+
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
9+
varying PSF (b), then regularized with this technique (c). The final image visually matches a direct convolution of
10+
the initial image with the target PSF (d). The panels are gamma-corrected to highlight the periphery of the model PSFs.
11+
![Example result image](model_example.png)
712

813
## Getting started
914

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

1823
## Need help?
1924
Please contact Marcus Hughes at [[email protected]](mailto:[email protected]).
25+
26+
## Citation
27+
Please cite the associated paper if you use this technique:
28+
29+
```
30+
@misc{https://doi.org/10.48550/arxiv.2212.02594,
31+
doi = {10.48550/ARXIV.2212.02594},
32+
33+
url = {https://arxiv.org/abs/2212.02594},
34+
35+
author = {Hughes, J. M. and DeForest, C. E. and Seaton, D. B.},
36+
37+
keywords = {Instrumentation and Methods for Astrophysics (astro-ph.IM), FOS: Physical sciences, FOS: Physical sciences},
38+
39+
title = {Coma Off It: Removing Variable Point Spread Functions from Astronomical Images},
40+
41+
publisher = {arXiv},
42+
43+
year = {2022},
44+
45+
copyright = {arXiv.org perpetual, non-exclusive license}
46+
}
47+
48+
```

docs/images/punch.png

-60 KB
Binary file not shown.

model_example.png

158 KB
Loading

0 commit comments

Comments
 (0)