From 4aec0454a8b6f9c68e8737a8b27ecf2b94ef65c6 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Thu, 3 Sep 2015 07:33:33 -0700 Subject: [PATCH] Updated docstring for Tally.get_values(...) with correct use of Iterable filter bins --- openmc/tallies.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/openmc/tallies.py b/openmc/tallies.py index 6e418a2be4..003acd9435 100644 --- a/openmc/tallies.py +++ b/openmc/tallies.py @@ -823,10 +823,10 @@ class Tally(object): A list of filter type strings (e.g., ['mesh', 'energy']; default is []) - filter_bins : list + filter_bins : list of Iterables A list of the filter bins corresponding to the filter_types - parameter (e.g., [1, (0., 0.625e-6)]; default is []). Each bin in - the list is the integer ID for 'material', 'surface', 'cell', + parameter (e.g., [(1,), (0., 0.625e-6)]; default is []). Each bin + in the list is the integer ID for 'material', 'surface', 'cell', 'cellborn', and 'universe' Filters. Each bin is an integer for the cell instance ID for 'distribcell Filters. Each bin is a 2-tuple of floats for 'energy' and 'energyout' filters corresponding to the @@ -2099,10 +2099,10 @@ class Tally(object): A list of filter type strings (e.g., ['mesh', 'energy']; default is []) - filter_bins : list + filter_bins : list of Iterables A list of the filter bins corresponding to the filter_types - parameter (e.g., [1, (0., 0.625e-6)]; default is []). Each bin in - the list is the integer ID for 'material', 'surface', 'cell', + parameter (e.g., [(1,), (0., 0.625e-6)]; default is []). Each bin + in the list is the integer ID for 'material', 'surface', 'cell', 'cellborn', and 'universe' Filters. Each bin is an integer for the cell instance ID for 'distribcell Filters. Each bin is a 2-tuple of floats for 'energy' and 'energyout' filters corresponding to the