Skip to main content

Python interface to facilitate the use of the Monte Carlo code PENELOPE and its main programs

Project description

pyPENELOPEtools

CI Codecov PyPI

pyPENELOPEtools is an open-source software to facilitate the use of the Monte Carlo code PENELOPE and its main programs such as PENEPMA. It is a programming interface to setup, run and analyze Monte Carlo simulations. Most of the code was adapted from pyPENELOPE, but with the goal to facilitate the integration with pyMonteCarlo.

What is PENELOPE?

PENELOPE (Penetration and ENErgy LOss of Positrons and Electrons) is a a general-purpose Monte Carlo code system for the simulation of coupled electron-photon transport in arbitrary materials. PENELOPE covers the energy range from 1 GeV down to, nominally, 50 eV. The physical interaction models implemented in the code are based on the most reliable information available at present, limited only by the required generality of the code. These models combine results from first-principles calculations, semi-empirical models and evaluated data bases. It should be borne in mind that although PENELOPE can run particles down to 50 eV, the interaction cross sections for energies below 1 keV may be affected by sizeable uncertainties; the results for these energies should be considered as semi-quantitative.

PENELOPE incorporates a flexible geometry package called PENGEOM that permits automatic tracking of particles in complex geometries consisting of homogeneous bodies limited by quadratic surfaces. The PENELOPE code system is distributed by the OECD/NEA Data Bank.

PENELOPE is coded as a set of FORTRAN subroutines, which perform the random sampling of interactions and the tracking of particles (either electrons, positrons or photons). In principle, the user should provide a main steering program to follow the particle histories through the material structure and to keep score of quantities of interest.

Documentation

The documentation contains the installation instructions, tutorials and API.

Release notes

1.2.0

  • Move tests to pytest
  • Add result class for PENCYL

1.1.1

  • Add enums for KPAR and ICOL
  • Add result from generated photon intensity

1.0.0

  • First release

Authors

License

License under Apache Software License 2.0.

Copyright (c) 2017- , Philippe Pinard

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

pyPENELOPEtools-1.2.0.tar.gz (110.0 kB view details)

Uploaded Source

Built Distribution

pyPENELOPEtools-1.2.0-py3-none-any.whl (78.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyPENELOPEtools-1.2.0.tar.gz
  • Upload date:
  • Size: 110.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pyPENELOPEtools-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b8c27a3a30df6aa7b77fd6551c3d230174485cb2a09caad2fb514b70b79868f1
MD5 3654015456b90b64408348c706ada414
BLAKE2b-256 ab766e052b9a8aec1aab1128e1c19d8f3b22170f7bfb882ceffa16ed12e63092

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyPENELOPEtools-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 78.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pyPENELOPEtools-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88753369260d8d669083eb7f421c2d51b6073cff3ef16ac81e172803db49b32e
MD5 f177e24fff52213ddc0385e5ad5d8562
BLAKE2b-256 ffd537fdd82a4d0c3b962ad42f6e828a732c8976b1795ca16e746a4d627f6ff8

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