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

This version

2.2.2

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.2.2.tar.gz (233.0 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.2.2-py2.py3-none-any.whl (253.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for pymchelper-2.2.2.tar.gz
Algorithm Hash digest
SHA256 ae5b421de9d8423227f6e3bad84b10b708fb155c8e8ef352e8389afd6786624d
MD5 13c69fc872b39b31223f1986623374d5
BLAKE2b-256 2fa11a4776704ef102b75cb6527043c066fd7e8a900b4efac2f79701243cef5b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pymchelper-2.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e04c5f028265a5153a40bae064b9cb2d8ada2726d7f100b5691d02fe91a3872f
MD5 23cc462a0aeae7feaab21f8c0b090122
BLAKE2b-256 73e710ca961e4809654dc4c9a0de854e9c7e2345780a75a7805ee69f421c4dae

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