Skip to main content

Eddy, the MCNP and SCALE HTML output converter

Project description

logo

PyPI version

Eddy is an HTML output generator for MCNP and SCALE, it imports an MCNP or SCALE output file, extracts the important data, and writes it to a user-friendly HTML file.

This repository contains the core source code version of Eddy. It is intended to be accessed via PIP and used as a python module. A stand-alone version of Eddy is also available (it has this package as one of its requirements), and Eddy is also available as a pre-compiled executable.

Eddy can be run from the command line with the output file and any applicable scaling factor as optional arguments; if no such arguments are supplied a GUI will appear to request them.

This package is available on the PyPI Python Package index as eddy-mc-core, in order to allow easier integration into other programs. It can be installed using pip:

pip install eddy-mc-core

and accessed using:

from eddymc_core import eddy
eddy.main()

where eddy.main() has one non-optional argument; the filepath for the MCNP output, and one optional argument; a scaling factor to multiply any tally results by. Features include:

  • Eddy can convert F2, F4, F5, F6 and F6+ tallies
  • Eddy can accept average tallies, given in the form F4:N (4 5)
  • Eddy can take an MCNP criticality output and show k-effective for the first half, second half and total calculation.
  • Eddy will present a warning if an MCNP case was halted due to lost particles
  • Eddy will clearly present any FATAL ERROR messages in the MCNP output
  • Eddy currently does not accept multi-particle tallies of the form F4:N,P
  • For F2, F4 and F5 tallies, the units are presented as microSieverts per hour. The actual result from MCNP is typically multiplied by some conversion factor, so the tally output could be in any unit. The uSv/h units have been left in for now as this seems to be by far the most common conversion factor used for shielding calculations.

Requirements

  • Python 3.6 or later
  • Jinja2 Python package is required (will be included automatically if Eddy is installed via pip)
  • importlib_resources may be required for versions of python < 3.9
  • pytest and pytest-mock Python packages are required to run the unit tests
Example HTML outputs

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

eddy-mc-core-0.4.0.tar.gz (41.2 kB view details)

Uploaded Source

Built Distribution

eddy_mc_core-0.4.0-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

Details for the file eddy-mc-core-0.4.0.tar.gz.

File metadata

  • Download URL: eddy-mc-core-0.4.0.tar.gz
  • Upload date:
  • Size: 41.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.11

File hashes

Hashes for eddy-mc-core-0.4.0.tar.gz
Algorithm Hash digest
SHA256 3b20b3385c358c1a008da0a38a0c4a63b28a0395a8075607a7215a7215c1e928
MD5 b2ea5ed5211113ae1a2fd8532fc25de0
BLAKE2b-256 e40b690b870904883fa9dce24b8e9fc41f9909d2e1de0f08ea7a8a9fb97fdbad

See more details on using hashes here.

File details

Details for the file eddy_mc_core-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: eddy_mc_core-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 47.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.11

File hashes

Hashes for eddy_mc_core-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1237ad42ac8c7aca0f7fd67858dbefa8453b5617bfb9fbf445d8b2d8fdb2ebf
MD5 4da3152988800598f3b74344dd2afa6f
BLAKE2b-256 dc33bc91c69af1ea623800172fa79a5b1f81e90136644f69ca7f06e36be6833c

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