-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spatially-variant PSF/background reproducability (#1053)
* Add config and fix minor errors; remove old data and notebook * Add binned flux metrics; update source type metrics to bin by magnitude * Add new config files and flux bin notebook * Update configs * Add galaxy shape metrics * Refactor evaluate_models notebook to python script; update train_models.sh with new configs and eval script * Fix paths in configs * Fix style checks * Fix tests * Add second field to sdss in base_config * Add galaxy shape metrics to tests
- Loading branch information
1 parent
c0645a3
commit 419e75d
Showing
20 changed files
with
2,096 additions
and
683 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Spatially Varying Backgrounds and PSFs Case Study | ||
============================================ | ||
|
||
This case study contains code to reproduce the results and figures for the paper "Neural Posterior Estimation for Cataloging Astronomical Images with Spatially Varying Backgrounds and Point Spread Functions". | ||
|
||
To run the experiments, run | ||
``` | ||
sh run_experiments.sh | ||
``` | ||
|
||
This will generate two synthetic datasets, train three models on the appropriate dataset, and run evaluation and generate figures similar to those seen in the paper. Note that the results may not be exact due to differences in the generated data. | ||
|
||
There are three main config files, one for each model: | ||
- `conf/single_field.yaml` | ||
- `conf/psf_unaware.yaml` | ||
- `conf/psf_aware.yaml` | ||
|
||
You should modify the `paths/cached_data` in each file to point to where you would like to save the generated datasets. |
Oops, something went wrong.