krakentools.deplete.read_in_mdep_data

krakentools.deplete.read_in_mdep_data(num_of_steps, base_name, folder_path='./', branch=1, verbosity=0)

Helper function for reading Serpent micro depletion output files and creating MicroDepData instances. Designed to be used together with deplete function. Currently supports only files created from branch calculations of form [input]_mdx[step]b[branch].m

Parameters:
  • num_of_steps (int) – Number of depletion steps including the zero

  • base_name (str) – Base name of Serpent micro depletion output files

  • folder_path (str) – Path to the folder containing Serpent output files

  • branch (int) – branch index

  • verbosity (int) – Print progress if > 0. Defaults to 0

Return type:

List[MicroDepData]