MCNP Input reader
Project description
MCNP Input Reader
The package for reading mcnp input in a pythonic way
MCNP Input Reader is a python package developed in ENEA to help the modifications and the check integrity of large mcnp input files.
Install
pip install mcnp-input-reader
Usage
import mcnp_input_reader as mir
mcnp_input = mir.read_file('input.i')
mcnp_input.cells # return the table of cells
mcnp_input.cells.filter(lambda cell: cell.mat_id == 2) # return the cells using material M2
TODO
A lot of things...
Example
Example taken from here
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
mcnp_input_reader-0.1.9.tar.gz
(14.7 kB
view hashes)
Built Distribution
Close
Hashes for mcnp_input_reader-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 625711caed360d6fa3dca4c6c5bfd4286ac12f980306b6fdb7ab867fd7912cc8 |
|
MD5 | 943882e07452218d86a07ca933f10222 |
|
BLAKE2b-256 | 4425d6989d27b53e3f5e8c49c1e8ec444bc050c98ce448d308d063609ac50370 |