Fluka Output Interfaces –
There is a class for processing output for Fluka. The functionality of the module can be obtained by importing as such:
from pyne import fluka
Module for parsing FLUKA output data. FLUKA is a fully integrated particle physics MonteCarlo simulation package. It has many applications in high energy experimental physics and engineering, shielding, detector and telescope design, cosmic ray studies, dosimetry, medical physics and radio-biology. Further information on FLUKA can be obtained from http://www.fluka.org/fluka.php
Currently, only usrbin output files can be read.
If PyMOAB is not installed, then Usrbin and UsrbinTally will not be available to use.
This class is the wrapper class for UsrbinTally. This class stores all information for a single file that contains one or more usrbin tallies. The “tally” attribute provides key/value access to individual UsrbinTally objects.
Path to Fluka usrbin file
A dictionary with user-specified tally names as keys and UsrbinTally objects as values.
FLUKA USRBIN file
This class reads a single FLUKA USRBIN tally from a USRBIN file.
The coordinate system used. Either “Cartesian”, “R-Z”, “R-Phi-Z”, or user-defined. Only “Cartesian” is supported.
The user-defined name for the tally
The number code corresponding to the particle tracked in tally. For complete list visit http://www.fluka.org/fluka.php?id=man_onl&sub=7
- x_boundslist of floats
The locations of mesh vertices in the x direction
- y_boundslist of floats
The locations of mesh vertices in the y direction
- z_boundslist of floats
The locations of mesh vertices in the z direction
The name of the tag for the track-length tally data. Follows form “part_data_X” where X is the number of the particle
The name of the tag for the error data. Follows form “error_data_X” where X is the number of the particle
Creates a UsrbinTally object by reading through the file
An open usrbin file