pynucastro.rates.known_duplicates module

pynucastro.rates.known_duplicates module#

pynucastro.rates.known_duplicates.find_duplicate_rates(rate_list)[source]#

Given a list of rates, return a list of groups of duplicate rates

Parameters:

rate_list (list(Rate)) – the input list of rates

Return type:

list(Rate)

pynucastro.rates.known_duplicates.is_allowed_dupe(rate_list)[source]#

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.

Parameters:

rate_list (list(Rate)) – a group of rates represented the same sequence that may be allowed duplicates.

Return type:

bool