fixed typos in comments and descrptions in Python API

This commit is contained in:
Sam Shaner 2016-01-04 12:47:43 -08:00
parent b469d74879
commit 8730a243c3
3 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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