Metadata-Version: 2.4
Name: ctlearn
Version: 0.11.0
Summary: 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).
Author: Ari Brill, Bryan Kim, Tjark Miener
Author-email: Daniel Nieto <d.nieto@ucm.es>
License: BSD-3-Clause
Project-URL: repository, https://github.com/ctlearn-project/ctlearn
Project-URL: documentation, https://ctlearn.readthedocs.io/en/latest/
Classifier: License :: OSI Approved :: BSD License
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Astronomy
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.12
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: astropy
Requires-Dist: ctapipe>=0.29
Requires-Dist: dl1_data_handler>=0.14.12
Requires-Dist: numba
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: pip
Requires-Dist: pydot
Requires-Dist: pytorch-lightning
Requires-Dist: pyyaml
Requires-Dist: setuptools
Requires-Dist: tensorboard
Requires-Dist: tensorflow>=2.18; sys_platform == "darwin" and python_version < "3.13"
Requires-Dist: tensorflow>=2.20; sys_platform == "darwin" and python_version >= "3.13" and python_version < "3.14"
Requires-Dist: tensorflow>=2.22.0rc0; sys_platform == "darwin" and python_version >= "3.14"
Requires-Dist: tensorflow[and-cuda]>=2.18; sys_platform == "linux" and python_version < "3.13"
Requires-Dist: tensorflow[and-cuda]>=2.20; sys_platform == "linux" and python_version >= "3.13" and python_version < "3.14"
Requires-Dist: tensorflow[and-cuda]>=2.22.0rc0; sys_platform == "linux" and python_version >= "3.14"
Requires-Dist: torch>2.4.0; python_version < "3.13"
Requires-Dist: torch>=2.5.0; python_version >= "3.13" and python_version < "3.14"
Requires-Dist: torch>=2.9.0; python_version >= "3.14"
Requires-Dist: keras>=3.0
Requires-Dist: torchvision
Requires-Dist: torchmetrics
Requires-Dist: keras-hexagdly>=0.6.1
Requires-Dist: pytorch-hexagdly>=0.4.1
Provides-Extra: all
Requires-Dist: ctlearn; extra == "all"
Requires-Dist: matplotlib~=3.0; extra == "all"
Requires-Dist: pyirf~=0.14.0; extra == "all"
Provides-Extra: tests
Requires-Dist: ctlearn; extra == "tests"
Requires-Dist: pytest>=9.0; extra == "tests"
Requires-Dist: pytest-cov; extra == "tests"
Requires-Dist: pytest-xdist; extra == "tests"
Requires-Dist: pytest_astropy_header; extra == "tests"
Requires-Dist: diff-cover; extra == "tests"
Requires-Dist: filelock; extra == "tests"
Provides-Extra: docs
Requires-Dist: ctlearn[all]; extra == "docs"
Requires-Dist: sphinx; extra == "docs"
Requires-Dist: sphinx-changelog; extra == "docs"
Requires-Dist: sphinx-rtd-theme; extra == "docs"
Provides-Extra: dev
Requires-Dist: ctlearn[all,docs,tests]; extra == "dev"
Requires-Dist: codespell; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: setuptools_scm[toml]; extra == "dev"
Requires-Dist: towncrier; extra == "dev"
Dynamic: license-file


CTLearn: Deep Learning for IACT Event Reconstruction
====================================================

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3342952.svg
   :target: https://doi.org/10.5281/zenodo.3342952
   :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: Continuous Integration

.. image:: https://codecov.io/gh/ctlearn-project/ctlearn/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/ctlearn-project/ctlearn
    :alt: Code coverage

.. 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 R1/DL0/DL1 data from `CTAO <https://www.cta-observatory.org/>`_ (Cherenkov Telescope Array Observatory), `FACT <https://www.isdc.unige.ch/fact/>`_\ , `H.E.S.S. <https://www.mpi-hd.mpg.de/hfm/HESS/>`_\ , `LST-1 <https://www.lst1.iac.es/>`_\ , `MAGIC <https://magic.mpp.mpg.de/>`_\ , and `VERITAS <https://veritas.sao.arizona.edu/>`_ telescopes reduced by `ctapipe <https://github.com/cta-observatory/ctapipe>`_ and processed by `DL1DataHandler <https://github.com/cta-observatory/dl1-data-handler>`_.

* Code, feature requests, bug reports, pull requests: https://github.com/ctlearn-project/ctlearn
* Documentation: https://ctlearn.readthedocs.io
* License: BSD-3

Installation
------------

First, create and activate a fresh conda environment:

.. code-block:: bash

   # Linux:
   mamba create -n ctlearn -c conda-forge python==3.12 llvmlite triton
   # macOS/Windows:
   mamba create -n ctlearn -c conda-forge python==3.12 llvmlite
   conda activate ctlearn

Note: For macOS and Windows, the `triton` package is not available and should be omitted from the installation.
The latest version of this package can be installed via pip:

.. code-block:: bash

   pip install ctlearn

See the documentation for further information like `installation instructions for the IT-cluster <https://ctlearn.readthedocs.io/en/latest/installation.html#install-a-released-version>`_, `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 from Zenodo <https://zenodo.org/search?q=parent.id:3342952&sort=version&f=allversions:true>`_ if this software package is used to produce results for any publication.

Team
----

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

   * - .. image:: https://github.com/aribrill.png?size=100
        :target: https://github.com/aribrill
        :alt: Ari Brill

     - .. image:: https://github.com/bryankim96.png?size=100
        :target: https://github.com/bryankim96
        :alt: Bryan Kim

     - .. image:: https://github.com/TjarkMiener.png?size=100
        :target: https://github.com/TjarkMiener
        :alt: Tjark Miener

     - .. image:: https://github.com/nietootein.png?size=100
        :target: https://github.com/nietootein
        :alt: Daniel Nieto

   * - `Ari Brill <https://github.com/aribrill>`_
     - `Bryan Kim <https://github.com/bryankim96>`_
     - `Tjark Miener <https://github.com/TjarkMiener>`_
     - `Daniel Nieto <https://github.com/nietootein>`_


Collaborators
-------------

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

   * - .. image:: https://github.com/qi-feng.png?size=100
        :target: https://github.com/qi-feng
        :alt: Qi Feng

     - .. image:: https://github.com/rlopezcoto.png?size=100
        :target: https://github.com/rlopezcoto
        :alt: Ruben Lopez-Coto

   * - `Qi Feng <https://github.com/qi-feng>`_
     - `Ruben Lopez-Coto <https://github.com/rlopezcoto>`_


Active Students
---------------

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

   * - .. image:: https://github.com/alexcervino.png?size=100
        :target: https://github.com/alexcervino
        :alt: Alexander Cerviño Cortínez

     - .. image:: https://github.com/BastienLacave.png?size=100
        :target: https://github.com/BastienLacave
        :alt: Bastien Lacave

     - .. image:: https://github.com/cpozogonzalez.png?size=100
        :target: https://github.com/cpozogonzalez
        :alt: Cristian Pozo González

     - .. image:: https://github.com/YugnatD.png?size=100
        :target: https://github.com/YugnatD
        :alt: Tanguy Dietrich

   * - `Alexander Cerviño Cortínez <https://github.com/alexcervino>`_
     - `Bastien Lacave <https://github.com/BastienLacave>`_
     - `Cristian Pozo González <https://github.com/cpozogonzalez>`_
     - `Tanguy Dietrich <https://github.com/YugnatD>`_
