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.1.tar.gz (596.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: easchersim-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 b6a409e7bdd1461132f800aa74ae9bafb07ee56e35d8a75b8570bac635d113c6
MD5 583722cc95eb44ec1ce070769849a97a
BLAKE2b-256 c7d88f84ee46aa36c3e1599554c4bbf00a8c6bb4868c39eb60387fc7e53141a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: easchersim-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 801d08f38ff5fcb708bc2ce4914fc7204aa6346eb4146c7c5c5bb6a93a3eb8ce
MD5 2d3ba4c3edf4437aaca9d614405865bd
BLAKE2b-256 c309f7c95aab6446fcb8c4ce2838715ab3b14213f365426df462cd3f6f01455a

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