onix.utils.fy_lib

class onix.utils.fy_lib(id_number)[source]

fy_lib objects allow users to build and store custom, small size fission yield libraries.

Parameters

id_number (int) – The id number associated with the fy_lib object

add_data(zamid, fy_dict)[source]

Add fission yield data from a fission yield dictionnary for a specified nuclide to the fission yield object.

Parameters
  • zamid (int) – z-a-m id of the nuclide

  • fy_dict (dict) – A dictionnary where keys are parent actinides’ z-a-m id and entries are values in percent (values from 0 to 100).

property fy

Returns the fission yield dictionnary of the fission yield object. This dictionnary has nuclides’ z-a-m id as keys and fission yield sub-dictionnaries as entries. Fission yield sub-dictionnaries have parent actinides z-a-m id as keys and corresponding fission yield values in percent (values from 0 to 100).