onix.Passlist

class onix.Passlist(*nucl_list)[source]

Passlist manages the list of nuclides’ passports.

It can for example order the list of nuclides in a certain order and is tasked with distributing nuclear data to individual nuclides.

Parameters

nucl_list (list) – (Optiontal) List of nuclides for which Passlist should build the Passports list. A passlist object can be instantiated without providing a nuclides list

azm_order_passport_list()[source]

Orders the list of Passport objects after mass number first and then atomic number.

create_passport_list(nucl_list)[source]

Create a Passport objects list after a provided list of nuclides.

Parameters

nucl_list (list) – List of nuclides’ names

get_index_dict()[source]

Returns a dictionnary where keys are z-a-m id of nuclides and entries are the index of their Passport in the Passport list.

property nucl_list

Returns the list of nuclides’ names.

property passport_list

Returns the list of Passport objects.

zam_order_passport_list()[source]

Orders the list of Passport objects after atomic number first and then mass number.

zam_order_passport_list_2()[source]

Orders the list of Passport objects after atomic number first and then mass number with Python list.sort() method.