-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from CosmoStat/refactor_plotting
Refactor plotting
- Loading branch information
Showing
61 changed files
with
2,087 additions
and
1,020 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
--- | ||
data_conf: data_config.yaml | ||
training_conf: training_config.yaml | ||
metrics_conf: metrics_config.yaml |
This file was deleted.
Oops, something went wrong.
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,12 @@ | ||
plotting_params: | ||
# Specify path to parent folder containing wf-psf metrics outputs for all runs, ex: $WORK/wf-outputs/ | ||
metrics_output_path: <PATH> | ||
# List directory(s) for metrics of trained PSF models to include in plot, | ||
metrics_dir: | ||
# - wf-outputs-xxxxxxxxxxx1 | ||
# - wf-outputs-xxxxxxxxxxx2 | ||
# List of name of metric config file to add to plot (would like to change such that code goes and finds them in the metrics_dir) | ||
metrics_config: | ||
# - metrics_config_1.yaml | ||
# - metrics_config_2.yaml | ||
plot_show: False |
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,83 @@ | ||
[project] | ||
name = "wf_psf" | ||
requires-python = ">=3.9" | ||
authors = [ | ||
{ "name" = "Tobias Liaudat", "email" = "[email protected]"}, | ||
{ "name" = "Jennifer Pollack", "email" = "[email protected]"}, | ||
] | ||
maintainers = [ | ||
{ "name" = "Jennifer Pollack", "email" = "[email protected]" }, | ||
] | ||
|
||
description = 'A software framework to perform Differentiable wavefront-based PSF modelling.' | ||
dependencies = [ | ||
"numpy>=1.19.2", | ||
"scipy>=1.11.2", | ||
"tensorflow>=2.9.1", | ||
"tensorflow-addons>=0.12.1", | ||
"tensorflow-estimator>=2.9.0", | ||
"zernike==0.0.31", | ||
"opencv-python>=4.5.1.48", | ||
"pillow>=9.5.0", | ||
"galsim>=2.4.11", | ||
"astropy>=5.3.3", | ||
"matplotlib>=3.3.2", | ||
"seaborn>=0.12.2", | ||
] | ||
version = "1.0.0" | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"importlib_metadata", | ||
"myst-parser", | ||
"numpydoc", | ||
"sphinx", | ||
"sphinxcontrib-bibtex", | ||
"sphinxawesome-theme", | ||
"sphinx-gallery", | ||
] | ||
|
||
lint = [ | ||
"black", | ||
] | ||
|
||
release = [ | ||
"build", | ||
"twine", | ||
] | ||
|
||
test = [ | ||
"pytest", | ||
"pytest-black", | ||
"pytest-cases", | ||
"pytest-cov", | ||
"pytest-emoji", | ||
"pytest-pydocstyle", | ||
"pytest-raises", | ||
"pytest-xdist", | ||
] | ||
|
||
# Install for development | ||
dev = ["wf_psf[docs,lint,release,test]"] | ||
|
||
[project.scripts] | ||
wavediff = "wf_psf.run:mainMethod" | ||
|
||
[tool.black] | ||
line-length = 88 | ||
|
||
[tool.pydocstyle] | ||
convention = "numpy" | ||
|
||
[tool.pytest.ini_options] | ||
addopts = [ | ||
"--verbose", | ||
"--black", | ||
"--emoji", | ||
"--pydocstyle", | ||
"--cov=wf_psf", | ||
"--cov-report=term-missing", | ||
"--cov-report=xml", | ||
"--junitxml=pytest.xml", | ||
] | ||
testpaths = ["src/wf_psf"] |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
Oops, something went wrong.