CTLearn 0.9.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. ctlearn-0.9.0/.github/ISSUE_TEMPLATE/bug_report.md +26 -0
  2. ctlearn-0.9.0/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  3. ctlearn-0.9.0/.github/conda/bld.bat +2 -0
  4. ctlearn-0.9.0/.github/conda/build.sh +2 -0
  5. ctlearn-0.9.0/.github/conda/conda_build_config.yaml +4 -0
  6. ctlearn-0.9.0/.github/conda/meta.yaml +56 -0
  7. ctlearn-0.9.0/.github/versionBackup.txt +1 -0
  8. ctlearn-0.9.0/.github/workflows/check_codemeta.yml +16 -0
  9. ctlearn-0.9.0/.github/workflows/python-package-conda.yml +40 -0
  10. ctlearn-0.9.0/.github/workflows/release.yml +73 -0
  11. ctlearn-0.9.0/.gitignore +22 -0
  12. ctlearn-0.9.0/.readthedocs.yaml +8 -0
  13. ctlearn-0.9.0/.zenodo.json +66 -0
  14. ctlearn-0.9.0/CONTRIBUTING.rst +29 -0
  15. ctlearn-0.9.0/CTLearn.egg-info/PKG-INFO +34 -0
  16. ctlearn-0.9.0/CTLearn.egg-info/SOURCES.txt +81 -0
  17. ctlearn-0.9.0/CTLearn.egg-info/dependency_links.txt +1 -0
  18. ctlearn-0.9.0/CTLearn.egg-info/entry_points.txt +3 -0
  19. ctlearn-0.9.0/CTLearn.egg-info/requires.txt +13 -0
  20. ctlearn-0.9.0/CTLearn.egg-info/top_level.txt +1 -0
  21. ctlearn-0.9.0/CTLearn.egg-info/zip-safe +1 -0
  22. ctlearn-0.9.0/LICENSE +29 -0
  23. ctlearn-0.9.0/MANIFEST.in +2 -0
  24. ctlearn-0.9.0/PKG-INFO +34 -0
  25. ctlearn-0.9.0/README.rst +143 -0
  26. ctlearn-0.9.0/codemeta.json +134 -0
  27. ctlearn-0.9.0/config/example_config.yml +527 -0
  28. ctlearn-0.9.0/ctlearn/__init__.py +8 -0
  29. ctlearn-0.9.0/ctlearn/build_irf.py +673 -0
  30. ctlearn-0.9.0/ctlearn/data_loader.py +214 -0
  31. ctlearn-0.9.0/ctlearn/default_config_files/CNNRNN.yml +60 -0
  32. ctlearn-0.9.0/ctlearn/default_config_files/SingleCNN.yml +59 -0
  33. ctlearn-0.9.0/ctlearn/default_config_files/TRN.yml +57 -0
  34. ctlearn-0.9.0/ctlearn/default_config_files/calwaveSingleCNN.yml +62 -0
  35. ctlearn-0.9.0/ctlearn/default_config_files/calwaveTRN.yml +60 -0
  36. ctlearn-0.9.0/ctlearn/default_config_files/rawwaveSingleCNN.yml +63 -0
  37. ctlearn-0.9.0/ctlearn/default_config_files/rawwaveTRN.yml +61 -0
  38. ctlearn-0.9.0/ctlearn/default_config_files/stackedTRN.yml +63 -0
  39. ctlearn-0.9.0/ctlearn/default_config_files/triggerSingleCNN.yml +68 -0
  40. ctlearn-0.9.0/ctlearn/default_config_files/triggerTRN.yml +66 -0
  41. ctlearn-0.9.0/ctlearn/default_models/attention.py +97 -0
  42. ctlearn-0.9.0/ctlearn/default_models/basic.py +175 -0
  43. ctlearn-0.9.0/ctlearn/default_models/cnn_rnn.py +78 -0
  44. ctlearn-0.9.0/ctlearn/default_models/head.py +75 -0
  45. ctlearn-0.9.0/ctlearn/default_models/resnet.py +296 -0
  46. ctlearn-0.9.0/ctlearn/default_models/single_cnn.py +123 -0
  47. ctlearn-0.9.0/ctlearn/default_models/variable_input_model.py +193 -0
  48. ctlearn-0.9.0/ctlearn/output_handler.py +237 -0
  49. ctlearn-0.9.0/ctlearn/run_model.py +832 -0
  50. ctlearn-0.9.0/ctlearn/utils.py +198 -0
  51. ctlearn-0.9.0/ctlearn/version.py +188 -0
  52. ctlearn-0.9.0/ctlearn/versionScript.py +8 -0
  53. ctlearn-0.9.0/docs/Makefile +19 -0
  54. ctlearn-0.9.0/docs/requirements.txt +13 -0
  55. ctlearn-0.9.0/docs/source/conf.py +180 -0
  56. ctlearn-0.9.0/docs/source/ctlearn.rst +53 -0
  57. ctlearn-0.9.0/docs/source/index.rst +34 -0
  58. ctlearn-0.9.0/docs/source/installation.rst +98 -0
  59. ctlearn-0.9.0/docs/source/modules.rst +7 -0
  60. ctlearn-0.9.0/docs/source/suplementary.rst +10 -0
  61. ctlearn-0.9.0/docs/source/usage.rst +182 -0
  62. ctlearn-0.9.0/environment-cluster.yml +30 -0
  63. ctlearn-0.9.0/environment.yml +23 -0
  64. ctlearn-0.9.0/images/CTLearnTextCTinBox_WhiteBkgd.png +0 -0
  65. ctlearn-0.9.0/images/TRN-single-tel.drawio +1 -0
  66. ctlearn-0.9.0/images/TRN-single-tel.svg +3 -0
  67. ctlearn-0.9.0/images/cnn_rnn_accuracy_legend.png +0 -0
  68. ctlearn-0.9.0/images/cnn_rnn_auc_legend.png +0 -0
  69. ctlearn-0.9.0/images/ctlearn_uml.drawio +1 -0
  70. ctlearn-0.9.0/images/ctlearn_uml.drawio.pdf +0 -0
  71. ctlearn-0.9.0/images/single_tel_accuracy_legend.png +0 -0
  72. ctlearn-0.9.0/images/single_tel_auc_legend.png +0 -0
  73. ctlearn-0.9.0/notebooks/lstmono_ctlearn.ipynb +314 -0
  74. ctlearn-0.9.0/pyproject.toml +53 -0
  75. ctlearn-0.9.0/scripts/auto_configuration.py +47 -0
  76. ctlearn-0.9.0/scripts/plot_classifier_values.py +49 -0
  77. ctlearn-0.9.0/scripts/plot_roc_curves.py +61 -0
  78. ctlearn-0.9.0/scripts/run_ctlearn_on_Wilkes3.sh +21 -0
  79. ctlearn-0.9.0/scripts/run_multiple_configurations.py +218 -0
  80. ctlearn-0.9.0/scripts/summarize_results.py +51 -0
  81. ctlearn-0.9.0/setup.cfg +4 -0
  82. ctlearn-0.9.0/setup.py +35 -0
  83. ctlearn-0.9.0/tests/test_placeholder.py +4 -0
@@ -0,0 +1,26 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1.
16
+ 2.
17
+ 3.
18
+
19
+ **Expected behavior**
20
+ A clear and concise description of what you expected to happen.
21
+
22
+ **Supporting information**
23
+ If applicable, add screenshots, logs, or a traceback to help illustrate the bug.
24
+
25
+ **Additional context**
26
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an new feature in CTLearn
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Please describe the use case that requires this feature.**
11
+ A clear and concise description of why this feature is needed. [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,2 @@
1
+ #!/bin/bash
2
+ $PYTHON setup.py install --single-version-externally-managed --record=record.txt
@@ -0,0 +1,2 @@
1
+ #!/bin/bash
2
+ $PYTHON setup.py install --single-version-externally-managed --record=record.txt
@@ -0,0 +1,4 @@
1
+ python:
2
+ - 3.12
3
+ - 3.11
4
+ - 3.10
@@ -0,0 +1,56 @@
1
+ {% set data = load_setup_py_data() %}
2
+
3
+ package:
4
+ name: ctlearn
5
+ version: {{ data.get('version') }}
6
+ source:
7
+ path: ../..
8
+
9
+ build:
10
+ #noarch: generic
11
+ number: 0
12
+
13
+ requirements:
14
+ build:
15
+ - python #==3.12
16
+ - numpy >=1.20
17
+ - setuptools
18
+ - astropy
19
+ - scipy
20
+ - jupyter
21
+ - ctapipe ==0.20.0
22
+ - pytables >=3.8
23
+ - pandas
24
+ host:
25
+ - python #==3.12
26
+ - numpy >=1.20
27
+ - astropy
28
+ - setuptools
29
+ - scipy
30
+ - jupyter
31
+ - ctapipe ==0.20.0
32
+ - pytables >=3.8
33
+ - pandas
34
+ run:
35
+ - python #==3.12
36
+ - numpy >=1.20
37
+ - jupyter
38
+ - setuptools
39
+ - astropy
40
+ - scipy
41
+ - ctapipe ==0.20.0
42
+ - pytables >=3.8
43
+ - pandas
44
+
45
+ test:
46
+ imports:
47
+ - ctlearn
48
+ about:
49
+ home: https://github.com/ctlearn-project/ctlearn/
50
+ license: BSD3-Clause
51
+ license_file: LICENSE
52
+ summary: Deep Learning for IACT Event Reconstruction.
53
+ extra:
54
+ recipe-maintainers:
55
+ - TjarkMiener
56
+ - nietootein
@@ -0,0 +1 @@
1
+ 0.9.0
@@ -0,0 +1,16 @@
1
+ name: validate codemeta
2
+
3
+ on:
4
+ push:
5
+ paths:
6
+ - codemeta.json
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ container:
12
+ image: gitlab-registry.in2p3.fr/escape2020/wp3/eossr:v1.0
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - name: validate codemeta
16
+ run: eossr-metadata-validator codemeta.json
@@ -0,0 +1,40 @@
1
+ name: CI
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ build:
7
+ strategy:
8
+ matrix:
9
+ os: [ubuntu-22.04]
10
+ pyv: [3.9, '3.10', 3.11, 3.12]
11
+ max-parallel: 5
12
+ runs-on: ${{ matrix.os }}
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - name: Set up Python ${{ matrix.pyv }}
16
+ run: |
17
+ conda install -y python=${{ matrix.pyv }}
18
+ - name: Add conda to system path
19
+ run: |
20
+ # $CONDA is an environment variable pointing to the root of the miniconda directory
21
+ echo $CONDA/bin >> $GITHUB_PATH
22
+ - name: Install dependencies
23
+ run: |
24
+ conda env update --file environment.yml --name base
25
+ - name: Lint with flake8
26
+ run: |
27
+ conda install flake8
28
+ # stop the build if there are Python syntax errors or undefined names
29
+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
30
+ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
31
+ flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
32
+ - name: Install with pip
33
+ run: |
34
+ pip install -e .
35
+ - name: Test with pytest
36
+ run: |
37
+ conda install pytest
38
+ pytest
39
+
40
+
@@ -0,0 +1,73 @@
1
+ name: Release CD
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ pypi-publish:
7
+ name: Publish release to PyPI
8
+ environment:
9
+ name: pypi
10
+ url: https://pypi.org/project/ctlearn/
11
+ permissions:
12
+ id-token: write
13
+ contents: write
14
+ deployments: write
15
+ statuses: write
16
+ actions: write
17
+ checks: read
18
+ strategy:
19
+ matrix:
20
+ os: [ubuntu-22.04]
21
+ pyv: ['3.10']
22
+ max-parallel: 5
23
+ runs-on: ${{ matrix.os }}
24
+ steps:
25
+ - uses: actions/checkout@v4
26
+ - name: Set up Python ${{ matrix.pyv }}
27
+ run: |
28
+ conda install -y python=${{ matrix.pyv }}
29
+
30
+ - name: Add conda to system path
31
+ run: |
32
+ #$CONDA is an environment variable pointing to the root of the miniconda directory
33
+ echo $CONDA/bin >> $GITHUB_PATH
34
+
35
+ - name: Install dependencies
36
+ run: |
37
+ conda env update --file environment.yml --name base
38
+
39
+ - name: Get version
40
+ run: |
41
+ output=$(python ctlearn/versionScript.py)
42
+ echo "version=$output" >> $GITHUB_OUTPUT
43
+ id: step1
44
+
45
+ - name: Write
46
+ uses: 1arp/create-a-file-action@0.4.5
47
+ with:
48
+ path: '.'
49
+ isAbsolutePath: true
50
+ file: '.github/versionBackup.txt'
51
+ content: |
52
+ ${{ steps.step1.outputs.version }}
53
+
54
+ - name: Push changes
55
+ run: |
56
+ git config --global user.email "rcervino@ucm.es"
57
+ git config --global user.name "rcervinoucm"
58
+ git status
59
+ git add .
60
+ git commit -m "version update" --allow-empty
61
+ git push
62
+
63
+ - name: Build package
64
+ run: |
65
+ python setup.py sdist bdist_wheel # Could also be python -m build
66
+ - name: Publish package distributions to PyPI
67
+ uses: pypa/gh-action-pypi-publish@release/v1
68
+
69
+ - name: publish-to-conda
70
+ uses: fcakyon/conda-publish-action@v1.3
71
+ with:
72
+ subdir: '.github/conda'
73
+ anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
@@ -0,0 +1,22 @@
1
+ *.swp
2
+ *.swo
3
+ *.gemini
4
+ *.index
5
+ *.meta
6
+ *.out
7
+ *.ckpt
8
+ *.tar.gz
9
+ *.pbtxt
10
+ *.png
11
+ *.csv
12
+ *~
13
+
14
+ # Compiled Python files
15
+ __pycache__/
16
+ *.py[cod]
17
+ .DS_Store
18
+ ctlearn/.DS_Store
19
+ ctlearn.egg-info/
20
+
21
+ # Sphinx documentation
22
+ docs/build/
@@ -0,0 +1,8 @@
1
+
2
+ version: 2
3
+
4
+ python:
5
+ install:
6
+ - requirements: docs/requirements.txt
7
+ - method: pip
8
+ path: .
@@ -0,0 +1,66 @@
1
+ {
2
+ "access_right": "open",
3
+ "communities": [
4
+ {
5
+ "identifier": "escape2020"
6
+ }
7
+ ],
8
+ "contributors": [
9
+ {
10
+ "affiliation": "Facultad de Ingenier\u00eda Inform\u00e1tica, Universidad Complutense de Madrid, Madrid, Spain",
11
+ "name": "Sevilla, Jaime",
12
+ "type": "Researcher"
13
+ }
14
+ ],
15
+ "creators": [
16
+ {
17
+ "name": "Brill, Ari",
18
+ "orcid": " 0000-0002-6208-5244"
19
+ },
20
+ {
21
+ "affiliation": "University of California Los Angeles, Division of Astronomy and Astrophysics, Los Angeles, CA, USA",
22
+ "name": "Kim, Bryan"
23
+ },
24
+ {
25
+ "affiliation": "Instituto de F\u00edsica de Part\u00edculas y del Cosmos, Departamento de EMFTEL, Universidad Complutense de Madrid, Madrid, Spain ",
26
+ "name": "Nieto, Daniel",
27
+ "orcid": "0000-0003-3343-0755"
28
+ },
29
+ {
30
+ "affiliation": "Instituto de F\u00edsica de Part\u00edculas y del Cosmos, Departamento de EMFTEL, Universidad Complutense de Madrid, Madrid, Spain ",
31
+ "name": "Miener, Tjark",
32
+ "orcid": "0000-0003-1821-7964"
33
+ },
34
+ {
35
+ "affiliation": "Barnard College, Columbia University, New York, NY, USA",
36
+ "name": "Feng, Qi",
37
+ "orcid": " 0000-0001-6674-4238"
38
+ }
39
+ ],
40
+ "description": "CTLearn is a high-level Python package providing a backend for training deep learning models for the reconstruction of imaging atmospheric Cherenkov telescope events using TensorFlow.",
41
+ "grants": [
42
+ {
43
+ "id": "10.13039/501100000780::824064"
44
+ }
45
+ ],
46
+ "keywords": [
47
+ "Imaging atmospheric Cherenkov telescopes",
48
+ "Deep learning",
49
+ "High energy physics",
50
+ "Event reconstruction"
51
+ ],
52
+ "language": "eng",
53
+ "license": "BSD-3-Clause",
54
+ "publication_date": "2023-05-08",
55
+ "related_identifiers": [
56
+ {
57
+ "identifier": "https://github.com/ctlearn-project/ctlearn",
58
+ "relation": "isDerivedFrom",
59
+ "resource_type": "software",
60
+ "scheme": "url"
61
+ }
62
+ ],
63
+ "title": "CTLearn: Deep learning for imaging atmospheric Cherenkov telescopes event reconstruction",
64
+ "upload_type": "software",
65
+ "version": "0.8.0"
66
+ }
@@ -0,0 +1,29 @@
1
+
2
+ Contributing to CTLearn
3
+ =======================
4
+
5
+ CTLearn is open source and welcomes contributions from the community!
6
+
7
+ Contributing guidelines
8
+ -----------------------
9
+
10
+ In CTLearn we follow the "fork-and-pull" Git workflow:
11
+
12
+
13
+ * Fork the repository on GitHub
14
+ * Clone the project to your own machine
15
+ * Commit your changes to your own branch
16
+ * Push your work back up to your fork on GitHub
17
+ * Submit a Pull Request so the core developer team can review your changes
18
+
19
+ Issues
20
+ ------
21
+
22
+ Feel free to submit issues and enhancement requests through our `issues page on GitHub <https://github.com/ctlearn-project/ctlearn/issues>`_.
23
+
24
+ Copyright and License
25
+ ---------------------
26
+
27
+ CTLearn is licensed under the `BSD 3-Clause License <https://opensource.org/licenses/BSD-3-Clause>`_.
28
+
29
+ CTLearn does require that you make your contributions available under the BSD 3-Clause License in order for it be included in the main repository.
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.1
2
+ Name: CTLearn
3
+ Version: 0.9.0
4
+ 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).
5
+ Home-page: https://github.com/ctlearn-project/ctlearn
6
+ Author: Ari Brill, Bryan Kim, Tjark Miener, Daniel Nieto
7
+ Author-email: d.nieto@ucm.es
8
+ License: BSD-3-Clause
9
+ Project-URL: repository, https://github.com/ctlearn-project/ctlearn
10
+ Project-URL: documentation, https://ctlearn.readthedocs.io/en/latest/
11
+ Classifier: License :: OSI Approved :: BSD License
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: Topic :: Scientific/Engineering :: Astronomy
14
+ Classifier: Topic :: Scientific/Engineering :: Physics
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Requires-Python: >=3.10
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Requires-Dist: dl1_data_handler>=0.12.0
23
+ Requires-Dist: astropy
24
+ Requires-Dist: matplotlib
25
+ Requires-Dist: numpy
26
+ Requires-Dist: pandas
27
+ Requires-Dist: pip
28
+ Requires-Dist: pyyaml
29
+ Requires-Dist: scikit-learn
30
+ Requires-Dist: ctaplot
31
+ Requires-Dist: numba<0.57,>=0.56.2
32
+ Requires-Dist: tensorflow<2.16,>=2.15
33
+ Requires-Dist: pydot
34
+ Requires-Dist: pyirf
@@ -0,0 +1,81 @@
1
+ .gitignore
2
+ .readthedocs.yaml
3
+ .zenodo.json
4
+ CONTRIBUTING.rst
5
+ LICENSE
6
+ MANIFEST.in
7
+ README.rst
8
+ codemeta.json
9
+ environment-cluster.yml
10
+ environment.yml
11
+ pyproject.toml
12
+ setup.py
13
+ .github/versionBackup.txt
14
+ .github/ISSUE_TEMPLATE/bug_report.md
15
+ .github/ISSUE_TEMPLATE/feature_request.md
16
+ .github/conda/bld.bat
17
+ .github/conda/build.sh
18
+ .github/conda/conda_build_config.yaml
19
+ .github/conda/meta.yaml
20
+ .github/workflows/check_codemeta.yml
21
+ .github/workflows/python-package-conda.yml
22
+ .github/workflows/release.yml
23
+ CTLearn.egg-info/PKG-INFO
24
+ CTLearn.egg-info/SOURCES.txt
25
+ CTLearn.egg-info/dependency_links.txt
26
+ CTLearn.egg-info/entry_points.txt
27
+ CTLearn.egg-info/requires.txt
28
+ CTLearn.egg-info/top_level.txt
29
+ CTLearn.egg-info/zip-safe
30
+ config/example_config.yml
31
+ ctlearn/__init__.py
32
+ ctlearn/build_irf.py
33
+ ctlearn/data_loader.py
34
+ ctlearn/output_handler.py
35
+ ctlearn/run_model.py
36
+ ctlearn/utils.py
37
+ ctlearn/version.py
38
+ ctlearn/versionScript.py
39
+ ctlearn/default_config_files/CNNRNN.yml
40
+ ctlearn/default_config_files/SingleCNN.yml
41
+ ctlearn/default_config_files/TRN.yml
42
+ ctlearn/default_config_files/calwaveSingleCNN.yml
43
+ ctlearn/default_config_files/calwaveTRN.yml
44
+ ctlearn/default_config_files/rawwaveSingleCNN.yml
45
+ ctlearn/default_config_files/rawwaveTRN.yml
46
+ ctlearn/default_config_files/stackedTRN.yml
47
+ ctlearn/default_config_files/triggerSingleCNN.yml
48
+ ctlearn/default_config_files/triggerTRN.yml
49
+ ctlearn/default_models/attention.py
50
+ ctlearn/default_models/basic.py
51
+ ctlearn/default_models/cnn_rnn.py
52
+ ctlearn/default_models/head.py
53
+ ctlearn/default_models/resnet.py
54
+ ctlearn/default_models/single_cnn.py
55
+ ctlearn/default_models/variable_input_model.py
56
+ docs/Makefile
57
+ docs/requirements.txt
58
+ docs/source/conf.py
59
+ docs/source/ctlearn.rst
60
+ docs/source/index.rst
61
+ docs/source/installation.rst
62
+ docs/source/modules.rst
63
+ docs/source/suplementary.rst
64
+ docs/source/usage.rst
65
+ images/CTLearnTextCTinBox_WhiteBkgd.png
66
+ images/TRN-single-tel.drawio
67
+ images/TRN-single-tel.svg
68
+ images/cnn_rnn_accuracy_legend.png
69
+ images/cnn_rnn_auc_legend.png
70
+ images/ctlearn_uml.drawio
71
+ images/ctlearn_uml.drawio.pdf
72
+ images/single_tel_accuracy_legend.png
73
+ images/single_tel_auc_legend.png
74
+ notebooks/lstmono_ctlearn.ipynb
75
+ scripts/auto_configuration.py
76
+ scripts/plot_classifier_values.py
77
+ scripts/plot_roc_curves.py
78
+ scripts/run_ctlearn_on_Wilkes3.sh
79
+ scripts/run_multiple_configurations.py
80
+ scripts/summarize_results.py
81
+ tests/test_placeholder.py
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ build_irf = ctlearn.build_irf:main
3
+ ctlearn = ctlearn.run_model:main
@@ -0,0 +1,13 @@
1
+ dl1_data_handler>=0.12.0
2
+ astropy
3
+ matplotlib
4
+ numpy
5
+ pandas
6
+ pip
7
+ pyyaml
8
+ scikit-learn
9
+ ctaplot
10
+ numba<0.57,>=0.56.2
11
+ tensorflow<2.16,>=2.15
12
+ pydot
13
+ pyirf
@@ -0,0 +1 @@
1
+ ctlearn
@@ -0,0 +1 @@
1
+
ctlearn-0.9.0/LICENSE ADDED
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2018, CTLearn developers
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ * Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ * Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ * Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,2 @@
1
+ include ctlearn/default_models/*
2
+ include ctlearn/default_config_files/*
ctlearn-0.9.0/PKG-INFO ADDED
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.1
2
+ Name: CTLearn
3
+ Version: 0.9.0
4
+ 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).
5
+ Home-page: https://github.com/ctlearn-project/ctlearn
6
+ Author: Ari Brill, Bryan Kim, Tjark Miener, Daniel Nieto
7
+ Author-email: d.nieto@ucm.es
8
+ License: BSD-3-Clause
9
+ Project-URL: repository, https://github.com/ctlearn-project/ctlearn
10
+ Project-URL: documentation, https://ctlearn.readthedocs.io/en/latest/
11
+ Classifier: License :: OSI Approved :: BSD License
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: Topic :: Scientific/Engineering :: Astronomy
14
+ Classifier: Topic :: Scientific/Engineering :: Physics
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Requires-Python: >=3.10
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Requires-Dist: dl1_data_handler>=0.12.0
23
+ Requires-Dist: astropy
24
+ Requires-Dist: matplotlib
25
+ Requires-Dist: numpy
26
+ Requires-Dist: pandas
27
+ Requires-Dist: pip
28
+ Requires-Dist: pyyaml
29
+ Requires-Dist: scikit-learn
30
+ Requires-Dist: ctaplot
31
+ Requires-Dist: numba<0.57,>=0.56.2
32
+ Requires-Dist: tensorflow<2.16,>=2.15
33
+ Requires-Dist: pydot
34
+ Requires-Dist: pyirf