InstallationΒΆ

You will need to have a working version of python. You’ll also need the following libraries/packages:

  1. tensorflow (instruction here: https://www.tensorflow.org/install/)
  2. PIL
  3. scipy/numpy
  4. matplotlib (if you’d like to generate plots in the ipython notebook)

Once you have these, you can simply clone the repository with git:

$ git clone git@github.com:yasharhezaveh/Ensai.git

Then, you’ll need to download these data files:

  1. The trained network weights
  2. a sample of lensing images to demonstrate the tool
  3. a few cosmic ray and artifact maps

After downloading these either double click on them in Mac, or untar them from the commandline with:

$ tar xvfz CosmicRays.tar
$ tar xvfz SAURON_TEST.tar
$ tar xvfz trained_weights.tar

Make sure that the unpacked folders are inside “data/” folder in Ensai. Now you should be able to run the ipyn notebook or play with the python scripts!