A Simulator for Cherenkov photon production and atmopheric transport for Extensive Air Showers
Project description
EASCherSim
This is the release of EASCherSim!
This tool simulates the cherenkov light emission for extensive airshowers with trajectories below and above the limb as a full Monte Carlo simulation. As a result it provides the photon spatial, time and angular distribution at the detection plane. The tool has the option to take the effect of a magnetic field into account. Various plots can be automatically produced and the results can be saved into root format.
Installation
EASCherSim
is available through pip or conda.
python3 -m pip install easchersim
conda install -c easchersim easchersim
:warning: WARNING: root is not a dependency to keep the distribution light
Note: We recommand the conda install. This allows to easily install root for creating root output files via
conda install -c conda-forge root
Usage
Create a configuration file
The command line simulator uses store simulation settings in an ini file (read by configparser). To generate a configuration file run the following, with your choice of file name. All option can be specified via argument as well (see help menu for details).
easchersim make-config my_config_file.ini
Run cherenkov simulation
Simulate cherenkov photons at detection plane
easchersim run my_config_file.ini
Documentation
The sphinx documentation is available at GitLab
Help Documentation
Use the -h
flag for documentation.
$ easchersim --help
usage: easchersim [OPTIONS] COMMAND [ARGS]
OPTIONS:
-h, --help show this help message and exit
COMMANDS:
{run,make-config}
run run easchersim for settings from configuration file
make-config Produce configuration file from default and/or given parameters.
Help documentation is also available for the commands (run and make-config).
$ easchersim make-config -h
$ easchersim run -h
Uninstall
python3 -m pip uninstall easchersim
conda uninstall easchersim
Download & Build
Clone the Repository (for development)
git clone https://gitlab.com/c4341/easchersim.git
cd easchersim
python3 -m pip install -e .
Project details
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
File details
Details for the file easchersim-1.1.tar.gz
.
File metadata
- Download URL: easchersim-1.1.tar.gz
- Upload date:
- Size: 597.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f2715ed974bd0086db159f8cb152d080ae8402ddbd5810021fe7e63768a4a15 |
|
MD5 | 85fe7100ed78c53fb5e9baa4be68a0bb |
|
BLAKE2b-256 | 1d28cd0c7bd748229215c5dce5be7d9342cdba182a9f4d98174fd8c28efab0ad |
File details
Details for the file easchersim-1.1-py3-none-any.whl
.
File metadata
- Download URL: easchersim-1.1-py3-none-any.whl
- Upload date:
- Size: 251.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e605877bb74ee799a68888b1e9c3cb2cf501c2049cf29c542fd10aa114401e0 |
|
MD5 | 67635db4f7fdf5786035d491aded5635 |
|
BLAKE2b-256 | b7954439d7684292a55aaa5a17c2795bb4744a4fb3855b8349090f10e2c68d45 |