CTLearn: Deep Learning for IACT Event Reconstruction
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 (Cherenkov Telescope Array Observatory), FACT, H.E.S.S., LST-1, MAGIC, and VERITAS telescopes reduced by ctapipe and processed by DL1DataHandler.
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:
# 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:
pip install ctlearn
See the documentation for further information like installation instructions for the IT-cluster, installation instructions for developers, package usage, and dependencies among other topics.
Citing this software
Please cite the corresponding version using the DOIs from Zenodo if this software package is used to produce results for any publication.
Team
|
|
|
|
|
|---|---|---|---|
Collaborators
|
|
|
|---|---|
Active Students
|
|
|
|
|
|---|---|---|---|
Metadata
Release files for ctlearn 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ctlearn-0.11.0.tar.gz | 1.2 MB | With provenance | Details for ctlearn-0.11.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ctlearn-0.11.0-py3-none-any.whl | Python 3 | none | any | Details for ctlearn-0.11.0-py3-none-any.whl |
Total release size: 1.4 MB
Release files / ctlearn-0.11.0.tar.gz
| Download URL | ctlearn-0.11.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
624141920a8564ea44c1a81b390d5feef594369f458fceebb031b7caefa973cf
|
|
BLAKE2b-256 checksum How to use checksums |
dc406b0a3e66504b4905b7ca3a589d5a0e8d43075f8c1edc454fa95092baa121
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / ctlearn-0.11.0-py3-none-any.whl
| Download URL | ctlearn-0.11.0-py3-none-any.whl |
|---|---|
| Size | 139.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
871c1303a06fe6b1c2bfff8a25260a690a98a371741a1bde9bc0b1e33d041b40
|
|
BLAKE2b-256 checksum How to use checksums |
74798a666880a828626ac1c75267edeae92648adccb6cc2eea28d14c8d71034b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logSecurity for ctlearn 0.11.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ctlearn-0.11.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.