https://github.com/cta-observatory/iact_event_types
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.3%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: cta-observatory
- License: bsd-3-clause
- Language: Jupyter Notebook
- Default Branch: main
- Size: 8.34 MB
Statistics
- Stars: 5
- Watchers: 4
- Forks: 7
- Open Issues: 9
- Releases: 0
Metadata Files
README.md
IACT event types
A set of scripts for testing event types on IACT DL2 data.
The library for parsing data, training machine learning models, testing the performance and for plotting is in the eventtypes directory. The scripts for the various event type studies are in the scripts directory. Specifically the scripts are really lacking documentation now. However, they are also fairly simple and self explanatory. No input arguments are taken at the moment, all necessary configuration is hardcoded within the scripts. The recommended way to study, e.g., regression, is to first run the trainmodels.py script after selecting the models you would like to train. Once the models are trained, run the compare_models.py scripts, making sure the models in the list to compare were trained beforehand.
Setup
conda env create -n event_types -f environment.yml
source activate event_types
pip install -e .
Once the package is set up, next time just run
source activate event_types
Developers should make use of the pre-commit functionality, which tests and applies python style fixes using black and flakes8. To use pre-commit, run the following command after completing the setup process above:
pre-commit install
For testing, pre-commit can be applied locally without commit:
pre-commit run --all-files
In rare cases, one might want to skip pre-commit checks with
git commit --no-verify
Requirements
Please note this is still work in progress. Documentation is outdated and clearly lacking.
In order to execute the scripts, you will need some eventDisplay input files. These are root files containing DL2 information from the eventDisplay analysis done by Gernot Maier at DESY.
A description of their content and links to download them can be found here: * https://cta.cloud.xwiki.com/xwiki/wiki/aswg/view/Main/Eventdisplay%20Prod3b%20DL2%20Lists/?srid=VjmpEqvM
The easiest way to download them is here: * https://ccdcacli236.in2p3.fr:2880/vo.cta.in2p3.fr/MC/PROD3/DL2evndisp/Paranal20deg/ * https://ccdcacli236.in2p3.fr:2880/vo.cta.in2p3.fr/MC/PROD3/DL2evndisp/LaPalma20deg/
Owner
- Name: Cherenkov Telescope Array Consortium
- Login: cta-observatory
- Kind: organization
- Website: www.cta-observatory.org
- Repositories: 54
- Profile: https://github.com/cta-observatory
open-source software for the CTA Consortium.
GitHub Events
Total
- Watch event: 1
- Delete event: 2
- Push event: 1
- Pull request event: 2
- Create event: 1
Last Year
- Watch event: 1
- Delete event: 2
- Push event: 1
- Pull request event: 2
- Create event: 1
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 5 months
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- orelgueta (1)
Pull Request Authors
- JBernete (3)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- astropy
- ipython
- jupyter
- matplotlib
- numpy
- numpydoc
- pandas
- pip
- pre-commit
- pyflakes
- pytables
- python
- scikit-learn
- seaborn
- uproot