openmc.lib.Tally¶
- class openmc.lib.Tally(uid=None, new=True, index=None)[source]¶
Tally stored internally.
This class exposes a tally that is stored internally in the OpenMC library. To obtain a view of a tally with a given ID, use the
openmc.lib.tallies
mapping.- Parameters
- Variables
id (int) – ID of the tally
estimator (str) – Estimator type of tally (analog, tracklength, collision)
filters (list) – List of tally filters
mean (numpy.ndarray) – An array containing the sample mean for each bin
nuclides (list of str) – List of nuclides to score results for
num_realizations (int) – Number of realizations
results (numpy.ndarray) – Array of tally results
std_dev (numpy.ndarray) – An array containing the sample standard deviation for each bin
type (str) – Type of tally (volume, mesh_surface, surface)