Installation

WaveDiff is a software written in Python and uses the TensorFlow framework to train and evaluate the model parameters of the PSF model. Therefore, it is advisable to run the WaveDiff software on machines equipped with a GPU.

Note: You may want to set up a dedicated Python environment for running WaveDiff using e.g. Conda. You can use the minimal installer Miniconda to set up the environment in which we run the command below to install the subset of packages needed for running WaveDiff.

Installation Steps

Clone the repository:

git clone https://github.com/CosmoStat/wf-psf.git

Create the recommended environment (if you haven’t already):

conda env create -f environment.yml
conda activate wavediff-env

Install WaveDiff:

$ cd wf-psf
$ pip install .

You can now proceed to the next section, where we show you how to run WaveDiff.