pynucastro.screening.screening_util module
Some helper functions for determining which rates need screening
-
class pynucastro.screening.screening_util.ScreeningPair(name, nuc1, nuc2, rate=None)[source]
Bases: object
A pair of nuclei that will have rate screening applied. We
store a list of all rates that match this pair of nuclei
-
add_rate(rate)[source]
Add a new rate to the screening pair.
- Parameters:
rate (Rate) – The rate to add.
-
pynucastro.screening.screening_util.get_screening_map(rates)[source]
Create a screening map—this is just a list of ScreeningPair
objects containing the information about nuclei pairs for
screening.
- Parameters:
rates (Iterable(Rate)) – A list of the rates in our network.
- Return type:
list(ScreeningPair)