Instructions for the hands-on sessions:
For the CTLearn hands-on sessions, there is some setup participants would need to follow, namely:
1.- Install CTLearn
We’ll be working with the latest release, 0.8.0. There’s two recommended ways you can get it installed and both rely on conda, so having conda installed is a prerequisite. Also installation on Windows is not supported, only Linux and MacOS.
Alternative a: Open a terminal and type
> conda config --add channels conda-forge
> conda config --add channels cta-observatory
> conda config --add channels ctlearn-project
> conda create -n "ctlearn-user" ctlearn==0.8.0
Alternative b: Open a terminal and type
> CTLearn_VER=0.8.0
> wget https://raw.githubusercontent.com/ctlearn-project/ctlearn/v$CTLearn_VER/environment.yml
> conda env create -n "ctlearn-user" -f environment.yml
> conda activate ctlearn-user
> conda install -c ctlearn-project ctlearn=$CTLearn_VER
2.- Download example data
Ask the organizers for a link to all datasets to be used during the hands-on sessions.
3.- Download tutorial notebooks, scripts and configs
All these data are located in the following repo:
https://github.com/ctlearn-project/ctlearn-workshops
We suggest you git clone the repo to easily keep up to date with the latest versions of the code by just git pulling, e.g.:
> git clone https://github.com/ctlearn-project/ctlearn-workshops.git
For the Gammapy hands-on session, you may find all materials in the following repository:
https://github.com/AtreyeeS/CTLearn-Gammapy
We suggest you git clone the repo to easily keep up to date with the latest versions of the code by just git pulling, e.g.:
> git clone https://github.com/AtreyeeS/CTLearn-Gammapy
Prior to running the notebook, you need to get Gammapy installed. Instructions may be found here.