mit-crpg/openmc — pull request #154 by bhermanmit (2013-03-06 16:18:26+00:00)
Title: Added Method for Tally statepoint binary extraction

In working with processing mesh and energy filtered source distributions, I thought it would be nice to have a simple tally extraction method in statepoint.py file. Basically after read_results from a statepoint you the new method, extract_results, a tally_id and a score_string.

Example: fsrc = extract_results(2,'nu-fission')

With this new object, tally results can easily be readjusted and reshaped with indexing arrays that are calculated in extract_results. Feel free to look at the new eigenfunction_rms.py script to see how to use this.