Skip to content

Commit 87e0c8e

Browse files
authored
Merge pull request #104 from CosmoStat/develop
Minor Patch Release 2.0.1
2 parents 146725f + 0cffc54 commit 87e0c8e

File tree

13 files changed

+64
-38
lines changed

13 files changed

+64
-38
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
pull_request:
88
branches:
99
- main
10-
10+
- develop
1111

1212
jobs:
1313
test-full:

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
project = "wf-psf"
1414
copyright = "2023, CosmoStat"
1515
author = "CosmoStat"
16-
release = "2.0.0"
16+
release = "2.0.1"
1717

1818
# -- General configuration ---------------------------------------------------
1919
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

docs/source/configuration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Next, we shall describe each configuration file.
3030
(data_config)=
3131
## Data Configuration
3232

33-
The file [data_config.yaml](https://github.com/CosmoStat/wf-psf/blob/dummy_main/config/data_config.yaml) stores the metadata for generating training and test data sets or retrieving existing ones. A set of training and test data is provided in the `data/coherent_euclid_dataset` directory. `Wavediff` will automatically retrieve the dataset within its directory tree. In the field `data_dir`, the user should specify the sub-path to the data directory as in the example below. The actual name of the dataset file is provided as an entry to the field `file`. However, new training and test data sets can be produced with the parameters in the file, which *should be* provided to the `simPSF` code although not at present (implementation upgrade pending).
33+
The file [data_config.yaml](https://github.com/CosmoStat/wf-psf/blob/main/config/data_config.yaml) stores the metadata for generating training and test data sets or retrieving existing ones. A set of training and test data is provided in the `data/coherent_euclid_dataset` directory. `Wavediff` will automatically retrieve the dataset within its directory tree. In the field `data_dir`, the user should specify the sub-path to the data directory as in the example below. The actual name of the dataset file is provided as an entry to the field `file`. However, new training and test data sets can be produced with the parameters in the file, which *should be* provided to the `simPSF` code although not at present (implementation upgrade pending).
3434

3535
```
3636
# Training and test data sets for training and/or metrics evaluation
@@ -54,7 +54,7 @@ data:
5454
(training_config)=
5555
## Training Configuration
5656

57-
The file [training_config.yaml](https://github.com/CosmoStat/wf-psf/blob/dummy_main/config/training_config.yaml) is used to configure the settings for the training pipeline task. The first line contains the parent key `training`. All of the following child keys are treated as values of the `training` key. Above each child key a description is provided. Below is an abridged example of this:
57+
The file [training_config.yaml](https://github.com/CosmoStat/wf-psf/blob/main/config/training_config.yaml) is used to configure the settings for the training pipeline task. The first line contains the parent key `training`. All of the following child keys are treated as values of the `training` key. Above each child key a description is provided. Below is an abridged example of this:
5858

5959
```
6060
training:
@@ -90,7 +90,7 @@ Training hyperparameters, defined by the parent key: `training_hparams`, include
9090
(metrics_config)=
9191
## Metrics Configuration
9292

93-
The [metrics_config.yaml](https://github.com/CosmoStat/wf-psf/blob/dummy_main/config/metrics_config.yaml) file stores the configuration parameters for the WaveDiff pipeline to perform computations of the four metrics listed in the table on a trained PSF model, as applied in {cite:t}`Liaudat:23`.
93+
The [metrics_config.yaml](https://github.com/CosmoStat/wf-psf/blob/main/config/metrics_config.yaml) file stores the configuration parameters for the WaveDiff pipeline to perform computations of the four metrics listed in the table on a trained PSF model, as applied in {cite:t}`Liaudat:23`.
9494

9595
| Metric type | Description |
9696
| --- | ----------- |
@@ -213,7 +213,7 @@ The `metrics` package is run using [TensorFlow](https://www.tensorflow.org) to r
213213
(plotting_config)=
214214
## Plot Configuration
215215

216-
The [plotting_config.yaml](https://github.com/CosmoStat/wf-psf/blob/dummy_main/config/plotting_config.yaml) file stores the configuration parameters for the WaveDiff pipeline to generate plots for the metrics listed in the {ref}`metrics settings table <metrics_settings>` for each data set.
216+
The [plotting_config.yaml](https://github.com/CosmoStat/wf-psf/blob/main/config/plotting_config.yaml) file stores the configuration parameters for the WaveDiff pipeline to generate plots for the metrics listed in the {ref}`metrics settings table <metrics_settings>` for each data set.
217217

218218
An example of the contents of the `plotting_config.yaml` file is shown below.
219219

@@ -283,7 +283,7 @@ plotting_params:
283283
(master_config_file)=
284284
## Master Configuration
285285

286-
The `configs.yaml` file is the master configuration file that is used to define all of the pipeline tasks to be submitted and executed by `WaveDiff` during runtime. In this file, the user lists the processing tasks (one or more) to be performed by setting the values of the associated configuration variables `{pipeline_task}_conf` and the name of the configuration file `{pipeline_task}_config.yaml`. See an example below to configure `WaveDiff` to launch a sequence of runs to train models 1...n with their respective configurations given in the files `training_config_{id}.yaml`.
286+
The [configs.yaml](https://github.com/CosmoStat/wf-psf/blob/main/config/configs.yaml) file is the master configuration file that is used to define all of the pipeline tasks to be submitted and executed by `WaveDiff` during runtime. In this file, the user lists the processing tasks (one or more) to be performed by setting the values of the associated configuration variables `{pipeline_task}_conf` and the name of the configuration file `{pipeline_task}_config.yaml`. See an example below to configure `WaveDiff` to launch a sequence of runs to train models 1...n with their respective configurations given in the files `training_config_{id}.yaml`.
287287

288288
```
289289
---

docs/source/dependencies.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Third-party software packages required by WaveDiff are installed automatically (
88
|--------------|---------------------------------------------------|
99
| [numpy](https://numpy.org/) | {cite:t}`harris:20` |
1010
| [scipy](https://scipy.org) | {cite:t}`SciPy-NMeth:20` |
11+
| [keras](https://keras.io) | {cite:t}`chollet:2015keras`|
1112
| [tensorflow](https://www.tensorflow.org) | {cite:t}`tensorflow:15` |
1213
| [tensorflow-addons](https://www.tensorflow.org/addons) |{cite:t}`tensorflow:15` |
1314
| [tensorflow-estimator](https://www.tensorflow.org/api_docs/python/tf/estimator) |{cite:t}`tensorflow:15` |
@@ -17,4 +18,5 @@ Third-party software packages required by WaveDiff are installed automatically (
1718
| [galsim](http://galsim-developers.github.io/GalSim/_build/html/index.html#) | {cite:t}`rowe:15` |
1819
| [astropy](https://www.astropy.org) | {cite:t}`astropy:13,astropy:18`, <br>{cite:t}`astropy:22` |
1920
| [matplotlib](https://matplotlib.org) | {cite:t}`Hunter:07` |
21+
| [pandas](https://pandas.pydata.org) | {cite:t}`mckinney:2010pandas` |
2022
| [seaborn](https://seaborn.pydata.org) | {cite:t}`Waskom:21` |

docs/source/installation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ WaveDiff is a software written in Python and uses the [TensorFlow](https://www.t
55

66
Note: You may want to set up a dedicated Python environment for running WaveDiff using e.g. [Conda](https://docs.conda.io/en/latest/). You can use the minimal installer [Miniconda](https://docs.conda.io/projects/miniconda/en/latest/) to set up the environment in which we run the command below to install the subset of packages needed for running WaveDiff.
77

8+
In the [WaveDiff repository](https://github.com/CosmoStat/wf-psf.git), we provide in the file `environment.yml` the specific environment used in the testing of `WaveDiff`. We recommend users to work with this environment for the current release.
9+
810
## Installation Steps
911

1012
Clone the repository:

docs/source/refs.bib

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@ @article{Liaudat:23
126126
journal = {Inverse Problems},
127127
}
128128

129+
@online{chollet:2015keras,
130+
title={Keras},
131+
author={Chollet, Francois and others},
132+
year={2015},
133+
publisher={GitHub},
134+
url={https://github.com/fchollet/keras},
135+
}
136+
129137
@misc{clark:15,
130138
title={Pillow (PIL Fork) Documentation},
131139
author={Clark, Alex},
@@ -196,6 +204,16 @@ @ARTICLE{SciPy-NMeth:20
196204
doi = {10.1038/s41592-019-0686-2},
197205
}
198206

207+
@inproceedings{mckinney:2010pandas,
208+
title={Data structures for statistical computing in python},
209+
author={McKinney, Wes and others},
210+
booktitle={Proceedings of the 9th Python in Science Conference},
211+
volume={445},
212+
pages={51--56},
213+
year={2010},
214+
organization={Austin, TX}
215+
}
216+
199217
@article{opencv_library:08,
200218
author = {Bradski, G.},
201219
citeulike-article-id = {2236121},

docs/source/wf_psf.info.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/source/wf_psf.plotting.plot_optimisation_metrics.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/source/wf_psf.plotting.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ Submodules
1212
.. toctree::
1313
:maxdepth: 4
1414

15-
wf_psf.plotting.plot_optimisation_metrics
1615
wf_psf.plotting.plots_interface

docs/source/wf_psf.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@ Submodules
2525

2626
.. toctree::
2727
:maxdepth: 4
28-
29-
wf_psf.info
28+
3029
wf_psf.run

0 commit comments

Comments
 (0)