ctlearn-project / ctlearn

Deep Learning for IACT Event Reconstruction
BSD 3-Clause "New" or "Revised" License
54 stars 42 forks source link

CTLearn: Deep Learning for IACT Event Reconstruction

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.11475531.svg :target: https://doi.org/10.5281/zenodo.11475531 :alt: DOI

.. image:: https://img.shields.io/pypi/v/ctlearn :target: https://pypi.org/project/ctlearn/ :alt: Latest Release

.. image:: https://github.com/ctlearn-project/ctlearn/actions/workflows/python-package-conda.yml/badge.svg :target: https://github.com/ctlearn-project/ctlearn/actions/workflows/python-package-conda.yml :alt: Continuos Integration

.. image:: images/CTLearnTextCTinBox_WhiteBkgd.png :target: images/CTLearnTextCTinBox_WhiteBkgd.png :alt: CTLearn Logo

CTLearn is a package under active development to run deep learning models to analyze data from all major current and future arrays of imaging atmospheric Cherenkov telescopes (IACTs). CTLearn can load DL1 data from CTA <https://www.cta-observatory.org/> (Cherenkov Telescope Array), FACT <https://www.isdc.unige.ch/fact/>\ , H.E.S.S. <https://www.mpi-hd.mpg.de/hfm/HESS/>\ , MAGIC <https://magic.mpp.mpg.de/>\ , and VERITAS <https://veritas.sao.arizona.edu/> telescopes processed by ctapipe <https://github.com/cta-observatory/ctapipe> or DL1DataHandler <https://github.com/cta-observatory/dl1-data-handler>_.

Installation for users

Download and install Anaconda <https://www.anaconda.com/download/>\ , or, for a minimal installation, Miniconda <https://conda.io/miniconda.html>.

The following command will set up a conda virtual environment, add the necessary package channels, and install CTLearn specified version and its dependencies:

.. code-block:: bash

CTLEARN_VER=0.9.0 wget https://raw.githubusercontent.com/ctlearn-project/ctlearn/v$CTLEARN_VER/environment.yml conda env create -n [ENVIRONMENT_NAME] -f environment.yml conda activate [ENVIRONMENT_NAME] pip install ctlearn==$CTLEARN_VER ctlearn -h

This should automatically install all dependencies (NOTE: this may take some time, as by default MKL is included as a dependency of NumPy and it is very large). If you are working on the IT-cluster, please use 'environment-cluster.yml' instead of 'environment.yml' in the instructions above.

See the documentation for further information like installation instructions for developers <https://ctlearn.readthedocs.io/en/latest/installation.html#installing-with-pip-setuptools-from-source-for-development>, package usage <https://ctlearn.readthedocs.io/en/stable/usage.html>, and dependencies <https://ctlearn.readthedocs.io/en/stable/installation.html#dependencies>_ among other topics.

Citing this software

Please cite the corresponding version using the DOIs below if this software package is used to produce results for any publication:

.. |zendoi080| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.11475531.svg :target: https://doi.org/10.5281/zenodo.11475531

Team

.. list-table:: :header-rows: 1

Collaborators

.. list-table:: :header-rows: 1

Alumni

.. list-table:: :header-rows: 1