openmc.deplete.d1s.apply_time_correction¶
- openmc.deplete.d1s.apply_time_correction(tally: Tally, time_correction_factors: dict[str, numpy.ndarray], index: int = - 1, sum_nuclides: bool = True) Tally[source]¶
Apply time correction factors to a tally.
This function applies the time correction factors at the given index to a tally that contains a
ParentNuclideFilter. When sum_nuclides is True, values over all parent nuclides will be summed, leaving a single value for each filter combination.- Parameters
tally (openmc.Tally) – Tally to apply the time correction factors to
time_correction_factors (dict) – Time correction factors as returned by
time_correction_factors()index (int, optional) – Index to use for the correction factors
sum_nuclides (bool) – Whether to sum over the parent nuclides
- Returns
Derived tally with time correction factors applied
- Return type