Skip to main content

Python toolkit for SHIELD-HIT12A and FLUKA

Project description

pymchelper

pymchelper is a toolkit for aiding users of the particle transport codes, such as FLUKA and SHIELD-HIT12A. Particle transport codes produce binary files (especially when running on dedicated computing clusters). It provides a command line program convertmc which can convert these binary files to graphs:

convertmc image --many "*.bdo"

This converter is capable of converting binary output to many other formats, like CSV, XLS or HDF.

Another feature of the toolkit is a command line utility runmc which speeds up particle transport simulation by splitting the calculation on multiple processes and merging the results

runmc --jobs 16 --out-type txt directory_with_input_files

Toolkit can also serve as a library in Python language, which can be used by programmers and data scientists to read data from binary files into convenient Python objects. This allows further data processing using other Python tools and libraries.

pymchelper works under Linux, Windows and Mac OSX operating systems.

Installation

To install pymchelper as a python package, type:

pip install pymchelper[full]

On Linux systems from Debian family pymchelper can be installed using apt package manager::

wget --quiet --output-document - https://datamedsci.github.io/deb_package_repository/public.gpg | sudo apt-key add -
sudo wget --quiet --output-document /etc/apt/sources.list.d/datamedsci.list https://datamedsci.github.io/deb_package_repository/datamedsci.list
sudo apt update
sudo apt install pymchelper

Documentation


Full pymchelper documentation can be found here: https://datamedsci.github.io/pymchelper/index.html

See Getting Started for installation and basic information, and the User's Guide for an overview of how to use the project.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymchelper-2.1.0.tar.gz (227.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymchelper-2.1.0-py2.py3-none-any.whl (248.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pymchelper-2.1.0.tar.gz.

File metadata

  • Download URL: pymchelper-2.1.0.tar.gz
  • Upload date:
  • Size: 227.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pymchelper-2.1.0.tar.gz
Algorithm Hash digest
SHA256 b55066d5f799ba9e711d42e2746f2fc65359d3432be65f60f0eed3027c895a9d
MD5 8817f47ea7a682e68ccbf36b05fc6ed3
BLAKE2b-256 f478f1f2ae48074d84925638e506f75970155cdf35892b2489e49c2f723918be

See more details on using hashes here.

File details

Details for the file pymchelper-2.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pymchelper-2.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 248.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pymchelper-2.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4a2460e8ab6ca873b4ddde7413481571ecfedf6471ce69f7950ea79c78047d47
MD5 cd1ac1658517e88e556d4a8363049202
BLAKE2b-256 9b2f766100338a49cbf6283ad0b699c01e832774f8d5f6eae51878ef3559d426

See more details on using hashes here.

Supported by

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