diff --git a/openmc/statepoint.py b/openmc/statepoint.py index 845937f594..b3cb4b6bdf 100644 --- a/openmc/statepoint.py +++ b/openmc/statepoint.py @@ -404,7 +404,7 @@ class StatePoint(object): for j in range(i+1, n_filters): filter.stride *= tally.filters[j].num_bins - # Read scattering moment order strings (e.g., P3, Y-1,2, etc.) + # Read scattering moment order strings (e.g., P3, Y1,2, etc.) moments = self._f['{0}{1}/moment_orders'.format( base, tally_key)].value diff --git a/openmc/summary.py b/openmc/summary.py index 00cf2d47ea..a347b5baa5 100644 --- a/openmc/summary.py +++ b/openmc/summary.py @@ -518,7 +518,7 @@ class Summary(object): # Create Tally object and assign basic properties tally = openmc.Tally(tally_id, tally_name) - # Read scattering moment order strings (e.g., P3, Y-1,2, etc.) + # Read scattering moment order strings (e.g., P3, Y1,2, etc.) moments = self._f['{0}/moment_orders'.format(subbase)].value # Read score metadata diff --git a/openmc/tallies.py b/openmc/tallies.py index cdf6c1f87e..190f147279 100644 --- a/openmc/tallies.py +++ b/openmc/tallies.py @@ -66,7 +66,9 @@ class Tally(object): triggers : list of openmc.trigger.Trigger List of tally triggers num_scores : Integral - Total number of user-specified scores + Total number of scores, accounting for the fact that a single + user-specified score, e.g. scatter-P3 or flux-Y2,2, might have multiple + bins num_filter_bins : Integral Total number of filter bins accounting for all filters num_bins : Integral