Skip to content

A Python package for modelling cosmic-ray showers, their light production and their detection

License

Notifications You must be signed in to change notification settings

JaimeRosado/ShowerModel

Repository files navigation

ShowerModel

Build Status Binder DOI pypi Documentation Status

ShowerModel logo

A Python package for modelling cosmic-ray showers, their light production and their detection.



Install

  • Install miniconda or anaconda first.

As user

It can be installed by doing:

pip install ShowerModel

If pip install ShowerModel fails as it is, you probably need to use --user option. This may happen in Windows installations.

pip install --user ShowerModel

Although it is optional, it is recommended to create a dedicated conda virtual environment.

As developer

  • Create and activate the conda environment:
git clone https://github.com/JaimeRosado/ShowerModel.git
cd ShowerModel
conda env create -f environment.yml
conda activate showermodel
  • To update the environment when dependencies get updated use:
conda env update -n showermodel -f environment.yml

To install ShowerModel, run the following command from the ShowerModel root directory where the setup.py file is located:

pip install -e .

Test your installation by running any of the notebooks in this repository. Otherwise, open an Issue with your error.

Further information

See our presentation video and contribution to ADASS XXX conference: