You may clone the repository and move into its root directory to work.
Step1:
git clone git@github.com:ambra-dipiano/astroAI.git
Step2:
cd astroAI
This software uses mamba for managing environments. You are free to use a different solution though compatibility is not guaranteed. Once you have installed and activated mamba
you can proceed with creating the environment.
Step1:
mamba create -n astroai
Step2:
mamba activate astroai
Step3:
mamba install -f environment.yml
Once the environment is created and activate, you may install the software.
pip install .
Alternatively you may install in editable mode.
pip install -e .
To run this code you are required to provide DL3 simulations in a compatible FITS format:
- simulation with gammapy
- simulation with ctools
- provided sample datasets simulations_dataset_v1
- You can preprocess data using the instructions in the dedicated README.
- You can train models anew following the instructions in the dedicated README or use the provided cnn_models_v1.
- You can compare the resuts with the reference real-time analysis pipeline following the instructions in the dedicated README.
- A commented configuration template for preprocessing and model training is provided here: template_cnn.yml.
- A commented configuration template to execute the reference rtal-time analysis pipeline is provided here: template_gp.yml.