Skip to main content

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 here (it has this package as one of its requirements), and Eddy is also available as a pre-compiled executable.

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, F5a, 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

Release files for eddy-mc-core 0.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eddy-mc-core 0.4.4
File Size Uploaded
eddy-mc-core-0.4.4.tar.gz 42.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eddy-mc-core 0.4.4
File Interpreter ABI Platform
eddy_mc_core-0.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 90.0 kB

Release files / eddy-mc-core-0.4.4.tar.gz

Download URL eddy-mc-core-0.4.4.tar.gz
Size 42.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8d8d015e5360dc684022970de18a22fe45b4168009f31fae8fc58d9d13d2d495
BLAKE2b-256 checksum
How to use checksums
0fdc6897659c85ae7cb6879a41de048ab00c9e69c34a3d1d2033a7658fdb5630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release files / eddy_mc_core-0.4.4-py3-none-any.whl

Download URL eddy_mc_core-0.4.4-py3-none-any.whl
Size 47.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8645d65ededd49c8ad1625006f24fd01ca67e10dfaabda6569dab1798e9aced9
BLAKE2b-256 checksum
How to use checksums
c1733e5c1ae0eed5124ec0fe0736bd6e3e055957f14998c9b4dd87aadb5c3046
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.4.4 This release

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page