Skip to main content

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)

  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-0.4.post6.tar.gz (366.5 kB view details)

Uploaded Source

Built Distribution

easchersim-0.4.post6-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

Details for the file easchersim-0.4.post6.tar.gz.

File metadata

  • Download URL: easchersim-0.4.post6.tar.gz
  • Upload date:
  • Size: 366.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for easchersim-0.4.post6.tar.gz
Algorithm Hash digest
SHA256 b93336bad18011eb7dcf3898c2c921a9bc4ba5b5d0fe2cd4f3ae0a2fcfdafe83
MD5 43ba51ad6cbef4c2157a89cc3325ea65
BLAKE2b-256 376c75d9fbc86475aa4c24b9a8a89287c3e4cad08badb01f1e166008f073f8c6

See more details on using hashes here.

File details

Details for the file easchersim-0.4.post6-py3-none-any.whl.

File metadata

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

File hashes

Hashes for easchersim-0.4.post6-py3-none-any.whl
Algorithm Hash digest
SHA256 64cf35afefcfea56a9d35f7d03890e2141402e6a8673fa06481d8720ea5a4c67
MD5 fa8208c994df05af943df6024c37195b
BLAKE2b-256 b5d25ef927a3d82fd7f19549ee3656b2529f97ff23ec2ca932cdb5cea61c71a3

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