f4enix.output.mctal#

modified version of what could be found at: kbat/mc-tools

This module deals with the parsing of MCNP MCTAL files

GNU Lesser General Public License v3.0 Permissions of this copyleft license are conditioned on making available complete source code of licensed works and modifications under the same license or the GNU GPLv3. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work through interfaces provided by the licensed work may be distributed under different terms and without source code for the larger work.

Functions

normalize_tally(df[, user_label, inplace])

Adds a 'Normalized Value' column to the DataFrame, representing the relative contribution of each user_label in each unique bin defined by the other columns.

Classes

Header()

Header class.

Mctal(filepath)

Object responsible for the parsing of MCNP mctal files.

Tally(tN)

This class is aimed to store all the information contained in a tally.