f4enix.input.ace.get_xs#

f4enix.input.ace.get_xs(this: str | Material, types: list[int | str], library: str, ace_filepaths: str | dict | PathLike, group_structure: str | None = None, temperature: float = 294.0, integral_points: int = 100) tuple[ndarray, ndarray]#
Parameters:
  • this (str) – the nuclide to collapse in string format e.g. ‘Li6’.

  • types (list[int | str]) – The list of cross section reaction types to consider.

  • library (str) – The library to use for cross section data.

  • ace_filepaths (str | dict | os.PathLike) – The path to the ACE file or xsdir file to use for the plot or a dictionary of xsdir files.

  • group_structure (str) – The group structure to use for collapsing cross sections.

  • temperature (float, optional) – the temperature at which to evaluate cross sections. Defaults to 294.

  • integral_points (int, optional) – The number of points to use for the integral calculation during a xs energy collapse. Defaults to 100. If the number of groups is low, it is recommended to increase this value to get a better integral of the xs in each energy bin.

Returns:

_description_

Return type:

_type_