pynucastro.rates.known_duplicates module#
Tools for detecting if a list of rates contains duplicates.
- pynucastro.rates.known_duplicates.find_duplicate_rates(rate_list)[source]#
Given a list of rates, return a list of groups of duplicate rates
- pynucastro.rates.known_duplicates.is_allowed_dupe(rate_list)[source]#
Check if any of the duplicates are allowed. Some duplicates may be allowed since they represent distinct processes between the same endpoints (those rates are listed in
ALLOWED_DUPLICATES
). Return True is the input set of rates is an allowed duplicate.