pipeline for the analysis of joint MAGIC+LST-1 data
Project description
Repository for the analysis of MAGIC and MAGIC+LST1 data, based on ctapipe.
Docs (preliminary): https://magic-cta-pipe.readthedocs.io/
v0.4.2 of magic-cta-pipe provides all the functionalities to perform a MAGIC+LST-1 or a MAGIC-only analysis. Both types of analyses can be performed using the scripts within the lst1_magic folder. See here for more details on how to run the analysis.
v0.4.2 is based on ctapipe v0.19.x and cta-lstchain v0.10.x.
NOTE ON OLD RELEASES
v0.3.1 of magic-cta-pipe was the last release before the cleanup of old files. Also, it was the last one supporting ctapipe v0.12. In order to exploit fully the new functionalities provided by ctapipe, use always the latest stable release of magic-cta-pipe (currently v0.4.2). v0.4.2 contains backward incompatible changes with respect to v0.3.1. Therefore, you cannot mix analyses performed with the two releases.
COMPATIBILITY OF MAGIC-CTA-PIPE WITH LSTCHAIN DATA
- At the moment of the release v0.4.2 of magic-cta-pipe, some LST-1 data are processed with cta-lstchain v0.9.x,
while the most recent ones are processed with v0.10.x. v0.4.2 of magic-cta-pipe allows to read in LST data files created with both v0.9.x and v0.10.x, so that you do not need to use different versions of magic-cta-pipe to process LST data.
Note that there are quite a lot of differences between v0.3.1 and v0.4.x, like for the telescope combinations definition, the way IRF are created (due to different pyirf versions) and so on. Therefore it may not be straightforward to stack the data at high level. We recommend to use only v0.4.2 for the processing, so that there will be no mismatches during the analysis.
Installation for users
The very first step to reduce MAGIC-LST data is to have remote access/credentials to the IT Container. If you do not have it, please write an email to request it to <admin-ctan@cta-observatory.org>, and the admin will send you the instructions to connect to the IT container.
magic-cta-pipe and its dependencies may be installed using the Anaconda or Miniconda package system (if you have mamba installed, we recommend you to use it instead of conda, so that the installation process will be much faster; if you don’t have anaconda/miniconda/miniforge, please install one of them into your workspace directory). We recommend creating a conda virtual environment first, to isolate the installed version and dependencies from your master environment (this is optional).
The following command will set up a conda virtual environment, add the necessary package channels, and install magic-cta-pipe and its dependencies:
git clone https://github.com/cta-observatory/magic-cta-pipe.git cd magic-cta-pipe conda env create -n magic-lst -f environment.yml conda activate magic-lst pip install .
In general, magic-cta-pipe is still in heavy development phase, so expect large changes between different releases.
Instructions for developers
Developers should follow the development install instructions found in the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for magic_cta_pipe-0.5.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f70d8a0208e412b17d5be285228eb5a828b7d74d990cf03f4346fcb6cc85ccf1 |
|
MD5 | 34e6d89344849058435d8f3609c9bd5d |
|
BLAKE2b-256 | 3a086aa81d2a0847ddda7a9e849e6a900669c39afbafad1732ddef691df2ee0b |