Code to accompany "Coma Off It: Removing Variable Point Spread Functions from Astronomical Images" by Hughes et al.(2022). This repository generates the figures. If you want the source code that peforms the regularization, see regularizepsf.
You will need to install all the requirements in the requirements.txt first. Then, follow along the instructions below.
The notebooks provided in the notebooks
directory recreate all of the figures in the paper.
Figure 1 of the paper is generated in notebooks/8-panel-theory.ipynb
.
There are three demos from the paper in this repository
This is fake data. Simply run all cells in notebooks/model-data.ipynb
.
The resulting figure is figures/mode.png
TODO: The data used for this still needs to be uploaded.
First run scripts/correct_dash.py
. Then to generate figures run notebooks/dash.ipynb
.
This will generate the figure figures/dash.png
.