Skip to main content

A Simulator for Cherenkov photon production and atmopheric transport for Extensive Air Showers

Project description

EASCherSim

GitLab Release (latest by date) PyPI Conda pipeline status

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

EASCherSim Use Demo

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)

  1. git clone https://gitlab.com/c4341/easchersim.git
  2. cd easchersim
  3. 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

easchersim-1.0.tar.gz (596.6 kB view details)

Uploaded Source

Built Distribution

easchersim-1.0-py3-none-any.whl (250.8 kB view details)

Uploaded Python 3

File details

Details for the file easchersim-1.0.tar.gz.

File metadata

  • Download URL: easchersim-1.0.tar.gz
  • Upload date:
  • Size: 596.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for easchersim-1.0.tar.gz
Algorithm Hash digest
SHA256 246c26295cab91065483b8342c448dc78dda2e4e3def3a2c075f074449e61f0f
MD5 3f16019f15f9046d1e1158ee7f31f743
BLAKE2b-256 5a3d0f18b75369c33f7ed8d8b48159e91d2e0b6515471bc4ee416850d27dac91

See more details on using hashes here.

File details

Details for the file easchersim-1.0-py3-none-any.whl.

File metadata

  • Download URL: easchersim-1.0-py3-none-any.whl
  • Upload date:
  • Size: 250.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for easchersim-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 793ebf9d822378bf71700e55045858c75d11f134ad8b328c0748e75dd5a1e5bf
MD5 e892e184568503cbc93710f72bbbf622
BLAKE2b-256 95b59cee4b2115bf4cf748f71021f43245b1b65f8a68592caac9be0498f1763f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page