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

Uploaded Source

Built Distribution

easchersim-1.2.0-py3-none-any.whl (254.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: easchersim-1.2.0.tar.gz
  • Upload date:
  • Size: 600.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for easchersim-1.2.0.tar.gz
Algorithm Hash digest
SHA256 6910a5fb31b957dca80c326d9f13d35bf309c39733770d381cb6ffb407bd6a12
MD5 f43a50599fae61be80dfac046ec51503
BLAKE2b-256 c0a6344288c2d728705b98b5a48c737c94bfa418a96af757ee3acc1318997ef4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: easchersim-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 254.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for easchersim-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a687f70b53ab9668f48692cfef326e9f37f90c0e8eb7c216edbb60b8f36c0928
MD5 91dd8f91de0b41cb1df967d4c90e384f
BLAKE2b-256 5be00fc535357d2771cebf24399fc06bc2e1e7f104941972656ecaeeb05c32a3

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