InstallationΒΆ
You will need to have a working version of python. You’ll also need the following libraries/packages:
- tensorflow (instruction here: https://www.tensorflow.org/install/)
- PIL
- scipy/numpy
- 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:
- The trained network weights
- a sample of lensing images to demonstrate the tool
- 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!