Table Of Contents

Previous topic

2. Writing XML Input Files

Next topic

4. Troubleshooting NDPP

This Page

3. NDPP Utilities

3.1. NDPP_DATA Library

NDPP is distributed with a python interface to read binary output libraries. This library provides functionality to:

  1. Read in a binary library which was printed by NDPP
  1. This is provided by the NDPP_lib class constructor
  1. Condense the outgoing angular moments to one-group values
  1. This is provided by NDPP_lib.condense_outgoing_scatt method.
  2. This method has an argument of groups which is a list of groups to which are to be condensed in to one.
  1. Expand the Legendre moments in to functions of angle
  1. This is provided by NDPP_lib.expand_scatt
  1. A method to expand the library’s distributions and report on incoming energy and outgoing group pairs who have negative probability distribution functions.
  1. This is provided by NDPP_lib.test_scatt_positivity.

Examples of these methods being used can be seen in both test.py and validate_libary.py.