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
Built Distribution
File details
Details for the file pymchelper-2.7.3.tar.gz
.
File metadata
- Download URL: pymchelper-2.7.3.tar.gz
- Upload date:
- Size: 245.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c8d956f6f7cfb935489b8a4f277b6d81d6ee5fe860d8dab0168b7f6ed103c17 |
|
MD5 | 151e40c9851cc675de962cbbc7c324f8 |
|
BLAKE2b-256 | 66c581c0dd1606abf28e9d6dc1cbd23102dc3244f97f84905d4b9dcad6ffb24b |
File details
Details for the file pymchelper-2.7.3-py2.py3-none-any.whl
.
File metadata
- Download URL: pymchelper-2.7.3-py2.py3-none-any.whl
- Upload date:
- Size: 268.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c49d0771a8d75087ab828364f46526217b0907e6e3fe4861739029942ae0db71 |
|
MD5 | 2ee24ffc460d91a32bdedf53d3855642 |
|
BLAKE2b-256 | 2bbb230c3514e3ed63e1f22db7b360829699c05593edeb1acc80eae872fa598d |