openmc.arithmetic.AggregateScore

class openmc.arithmetic.AggregateScore(scores=None, aggregate_op=None)[source]

A special-purpose tally score used to encapsulate an aggregate of a subset or all of tally’s scores for tally aggregation.

Parameters
  • scores (Iterable of str or CrossScore) – The scores included in the aggregation

  • aggregate_op (str) – The tally aggregation operator (e.g., ‘sum’, ‘avg’, etc.) used to aggregate across a tally’s scores with this AggregateScore

Variables
  • scores (Iterable of str or CrossScore) – The scores included in the aggregation

  • aggregate_op (str) – The tally aggregation operator (e.g., ‘sum’, ‘avg’, etc.) used to aggregate across a tally’s scores with this AggregateScore