From 1233fde380e92b89682d0af093a71babf481b514 Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Thu, 4 Dec 2025 12:03:16 +0100 Subject: [PATCH 01/17] correct doc typo --- docs/source/dev/insertbenchmarks.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/dev/insertbenchmarks.rst b/docs/source/dev/insertbenchmarks.rst index 83ee1e1a..3be343fe 100644 --- a/docs/source/dev/insertbenchmarks.rst +++ b/docs/source/dev/insertbenchmarks.rst @@ -246,9 +246,9 @@ The currently supported modifiers are: If no *column* argument is provided, the cumulative sum is computed on the 'Value' column by default. The argument *norm* is True by default. * ``gaussian_broadening``: applies Gaussian broadening to the 'Value' column. The optional keyarg to provide is *fwhm_frac*, -which specifies the fraction of the FWHM (Full Width at Half Maximum) to use for Gaussian broadening. This can be provided either -as a single float value, which will be applied uniformly to all energy bins, or as a list of float values with the same length as the -'Energy' column, allowing for a different broadening parameter for each energy bin. If not specified, the default value is 0.1 (10%). + which specifies the fraction of the FWHM (Full Width at Half Maximum) to use for Gaussian broadening. This can be provided either + as a single float value, which will be applied uniformly to all energy bins, or as a list of float values with the same length as the + 'Energy' column, allowing for a different broadening parameter for each energy bin. If not specified, the default value is 0.1 (10%). More than one modifiers can be applied in series to a single tally. If your benchmark requires a new modifier, please refer to :ref:`add_tally_mod`. From 623fecdda5c31dd0567fb78c9bd4e47e4490c18c Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Fri, 5 Dec 2025 09:16:10 +0100 Subject: [PATCH 02/17] Improved TUD-W post processing --- src/jade/post/plotter.py | 80 ++++++---- .../benchmarks_pp/atlas/TUD-W.yaml | 63 ++++++-- .../benchmarks_pp/excel/TUD-W.yaml | 16 +- .../benchmarks_pp/raw/mcnp/Oktavian.yaml | 2 +- .../benchmarks_pp/raw/mcnp/TUD-W.yaml | 22 ++- .../benchmarks_pp/raw/openmc/TUD-W.yaml | 22 ++- .../TUD-W_pos1 Neutron spectra coarse.csv | 6 + ...lux.csv => TUD-W_pos1 Neutron spectra.csv} | 0 .../TUD-W_pos1 Photon spectra coarse.csv | 4 + ...flux.csv => TUD-W_pos1 Photon spectra.csv} | 0 .../TUD-W_pos2 Neutron spectra coarse.csv | 6 + ...lux.csv => TUD-W_pos2 Neutron spectra.csv} | 0 .../TUD-W_pos2 Photon spectra coarse.csv | 4 + ...flux.csv => TUD-W_pos2 Photon spectra.csv} | 0 .../TUD-W_pos3 Neutron spectra coarse.csv | 6 + ...lux.csv => TUD-W_pos3 Neutron spectra.csv} | 0 .../TUD-W_pos3 Photon spectra coarse.csv | 4 + ...flux.csv => TUD-W_pos3 Photon spectra.csv} | 0 .../TUD-W_pos4 Neutron spectra coarse.csv | 6 + ...lux.csv => TUD-W_pos4 Neutron spectra.csv} | 0 .../TUD-W_pos4 Photon spectra coarse.csv | 4 + ...flux.csv => TUD-W_pos4 Photon spectra.csv} | 0 .../TUD-W_pos1 Neutron spectra coarse.csv | 6 + ...lux.csv => TUD-W_pos1 Neutron spectra.csv} | 0 .../TUD-W_pos1 Photon spectra coarse.csv | 4 + ...flux.csv => TUD-W_pos1 Photon spectra.csv} | 0 .../TUD-W_pos2 Neutron spectra coarse.csv | 6 + ...lux.csv => TUD-W_pos2 Neutron spectra.csv} | 0 .../TUD-W_pos2 Photon spectra coarse.csv | 4 + ...flux.csv => TUD-W_pos2 Photon spectra.csv} | 0 .../TUD-W_pos3 Neutron spectra coarse.csv | 6 + ...lux.csv => TUD-W_pos3 Neutron spectra.csv} | 0 .../TUD-W_pos3 Photon spectra coarse.csv | 4 + ...flux.csv => TUD-W_pos3 Photon spectra.csv} | 0 .../TUD-W_pos4 Neutron spectra coarse.csv | 6 + ...lux.csv => TUD-W_pos4 Neutron spectra.csv} | 0 .../TUD-W_pos4 Photon spectra coarse.csv | 4 + ...flux.csv => TUD-W_pos4 Photon spectra.csv} | 0 .../_mcnp_-_FENDL 3.1d_/TUD-W/metadata.json | 2 +- .../TUD-W/TUD-W_pos1 Neutron flux.csv | 144 ------------------ .../TUD-W/TUD-W_pos1 Photon flux.csv | 139 ----------------- .../TUD-W/TUD-W_pos2 Neutron flux.csv | 144 ------------------ .../TUD-W/TUD-W_pos2 Photon flux.csv | 139 ----------------- .../TUD-W/TUD-W_pos3 Neutron flux.csv | 144 ------------------ .../TUD-W/TUD-W_pos3 Photon flux.csv | 139 ----------------- .../TUD-W/TUD-W_pos4 Neutron flux.csv | 144 ------------------ .../TUD-W/TUD-W_pos4 Photon flux.csv | 139 ----------------- .../_mcnp_-_FENDL 3.2c_/TUD-W/metadata.json | 9 -- tests/post/test_excel_processor.py | 6 +- 49 files changed, 236 insertions(+), 1198 deletions(-) create mode 100644 tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv rename tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/{TUD-W_pos1 Neutron flux.csv => TUD-W_pos1 Neutron spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv rename tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/{TUD-W_pos1 Photon flux.csv => TUD-W_pos1 Photon spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv rename tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/{TUD-W_pos2 Neutron flux.csv => TUD-W_pos2 Neutron spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv rename tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/{TUD-W_pos2 Photon flux.csv => TUD-W_pos2 Photon spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv rename tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/{TUD-W_pos3 Neutron flux.csv => TUD-W_pos3 Neutron spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv rename tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/{TUD-W_pos3 Photon flux.csv => TUD-W_pos3 Photon spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv rename tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/{TUD-W_pos4 Neutron flux.csv => TUD-W_pos4 Neutron spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv rename tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/{TUD-W_pos4 Photon flux.csv => TUD-W_pos4 Photon spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv rename tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/{TUD-W_pos1 Neutron flux.csv => TUD-W_pos1 Neutron spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv rename tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/{TUD-W_pos1 Photon flux.csv => TUD-W_pos1 Photon spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv rename tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/{TUD-W_pos2 Neutron flux.csv => TUD-W_pos2 Neutron spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv rename tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/{TUD-W_pos2 Photon flux.csv => TUD-W_pos2 Photon spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv rename tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/{TUD-W_pos3 Neutron flux.csv => TUD-W_pos3 Neutron spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv rename tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/{TUD-W_pos3 Photon flux.csv => TUD-W_pos3 Photon spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv rename tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/{TUD-W_pos4 Neutron flux.csv => TUD-W_pos4 Neutron spectra.csv} (100%) create mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv rename tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/{TUD-W_pos4 Photon flux.csv => TUD-W_pos4 Photon spectra.csv} (100%) delete mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos1 Neutron flux.csv delete mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos1 Photon flux.csv delete mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos2 Neutron flux.csv delete mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos2 Photon flux.csv delete mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos3 Neutron flux.csv delete mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos3 Photon flux.csv delete mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos4 Neutron flux.csv delete mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos4 Photon flux.csv delete mode 100644 tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/metadata.json diff --git a/src/jade/post/plotter.py b/src/jade/post/plotter.py index 6ef601ae..58c1a023 100644 --- a/src/jade/post/plotter.py +++ b/src/jade/post/plotter.py @@ -17,6 +17,7 @@ from matplotlib.ticker import AutoLocator, AutoMinorLocator, LogLocator, MultipleLocator from jade.config.atlas_config import PlotConfig, PlotType +from jade.post.manipulate_tally import compare_data, ComparisonType matplotlib.use("Agg") # use a non-interactive backend LM = LibManager() @@ -523,41 +524,40 @@ def _get_figure(self) -> tuple[Figure, list[Axes]]: raise ValueError(f"Style {style} not recognized") # compute the ratios + to_plot = [] if subcases: - to_plot = [] - for codelib, df in self.data[1:]: - to_plot.append( - ( - codelib, - df.set_index([subcases[0], self.cfg.x])[self.cfg.y] - / self.data[0][1].set_index([subcases[0], self.cfg.x])[ - self.cfg.y - ], - ) - ) + ref = self.data[0][1].set_index([subcases[0], self.cfg.x]) else: - to_plot = [ - ( - codelib, - df.set_index(self.cfg.x)[self.cfg.y] - / self.data[0][1].set_index(self.cfg.x)[self.cfg.y], - ) - for (codelib, df) in self.data[1:] - ] + ref = self.data[0][1].set_index(self.cfg.x) + val1 = ref[self.cfg.y] + err1 = ref["Error"] + + for codelib, df in self.data[1:]: + if subcases: + target = df.set_index([subcases[0], self.cfg.x]) + else: + target = df.set_index(self.cfg.x) + val2 = target[self.cfg.y] + err2 = target["Error"] + values, errors = compare_data( + val1, val2, err1, err2, comparison_type=ComparisonType.RATIO + ) + to_plot.append((codelib, values, errors)) # Plot the data - for idx, (codelib, df) in enumerate(to_plot): + for idx, (codelib, df_vals, df_errors) in enumerate(to_plot): # Split the dfs into the subcases if needed if subcases: dfs = [] for value in subcases[1]: try: - subset = df.loc[value] + subset_val = df_vals.loc[value] + subset_err = df_errors.loc[value] except KeyError: continue - dfs.append((value, subset)) + dfs.append((value, subset_val, subset_err)) else: - dfs = [(None, df)] + dfs = [(None, df_vals, df_errors)] # If this is the first lib, create the plot if idx == 0: @@ -571,7 +571,7 @@ def _get_figure(self) -> tuple[Figure, list[Axes]]: axes = ax # plot all subcases - for i, (case, df1) in enumerate(dfs): + for i, (case, dfv, dfe) in enumerate(dfs): if i == 0: label = codelib else: @@ -593,8 +593,8 @@ def _get_figure(self) -> tuple[Figure, list[Axes]]: if style == "step": axes[i].step( - df1.index, - df1.values, + dfv.index, + dfv.values, label=label, color=COLORS[idx], linestyle=LINESTYLES[idx], @@ -606,22 +606,38 @@ def _get_figure(self) -> tuple[Figure, list[Axes]]: _apply_CE_limits( ce_limits[0], ce_limits[1], - df1.values, - df1.index, + dfv.values, + dfv.index, axes[i], idx, label, ) else: - ax.scatter( - df1.index, - df1.values, + axes[i].scatter( + dfv.index, + dfv.values, label=label, color=COLORS[idx], marker=MARKERS[idx], # the marker should be not filled facecolors="none", ) + # add error bars + axes[i].errorbar( + dfv.index, + dfv.values, + yerr=dfe.values, + fmt="none", + ecolor=COLORS[idx], + # elinewidth=0.5, + # capsize=2, + # label=None, + ) + # if it is a scatter plot we must check for categorical X axis + # as this is not automatically detected by matplotlib + if dfv.index.dtype == str or dfv.index.dtype == object: + axes[i].set_xticks(range(len(dfv.index))) + axes[i].set_xticklabels(dfv.index) # put the legend in the top right corner if it was not already placed if not axes[0].get_legend(): @@ -1045,7 +1061,7 @@ def _apply_CE_limits( combined = handles + leg if label is not None: - ax.legend(handles=combined, loc="best") + ax.legend(handles=combined, bbox_to_anchor=(1, 1)) def _rotate_ticks(ax: Axes) -> None: diff --git a/src/jade/resources/default_cfg/benchmarks_pp/atlas/TUD-W.yaml b/src/jade/resources/default_cfg/benchmarks_pp/atlas/TUD-W.yaml index 9437b344..25991780 100644 --- a/src/jade/resources/default_cfg/benchmarks_pp/atlas/TUD-W.yaml +++ b/src/jade/resources/default_cfg/benchmarks_pp/atlas/TUD-W.yaml @@ -1,10 +1,10 @@ -Neutron flux: +Neutron spectra: results: - - Neutron flux + - Neutron spectra plot_type: binned - title: Neutron flux + title: Neutron spectra by unit energy x_label: "Energy $\\left[\\mathrm{MeV}\\right]$" - y_labels: "Neutron flux $\\left[\\frac{1}{MeV\\cdot n \\cdot cm^2}\\right]$" + y_labels: "Neutron spectra $\\left[\\frac{1}{MeV\\cdot n \\cdot cm^2}\\right]$" x: Energy y: Value expand_runs: true @@ -13,17 +13,62 @@ Neutron flux: show_error: true xscale: linear # -Photon flux: +Photon spectra: results: - - Photon flux + - Photon spectra plot_type: binned - title: Photon flux + title: Photon spectra by unit energy x_label: "Energy $\\left[\\mathrm{MeV}\\right]$" - y_labels: "Photon flux $\\left[\\frac{1}{MeV\\cdot n \\cdot cm^2}\\right]$" + y_labels: "Photon spectra $\\left[\\frac{1}{MeV\\cdot n \\cdot cm^2}\\right]$" x: Energy y: Value expand_runs: true plot_args: show_CE: true show_error: true - xscale: linear \ No newline at end of file + xscale: linear +C/E neutron spectra (1-9 MeV): + results: + - Neutron spectra coarse + plot_type: ce + title: Neutron spectra C/E + x_label: Position + y_labels: 'dummy' + x: Case + y: Value + expand_runs: false + plot_args: + subcases: ["Energy", ['1 - 3', '3 - 6', '6 - 9']] + style: 'point' + ce_limits: [0.5, 1.5] + shorten_x_name: 1 +C/E neutron spectra (>9 MeV): + results: + - Neutron spectra coarse + plot_type: ce + title: Neutron spectra C/E + x_label: Position + y_labels: 'dummy' + x: Case + y: Value + expand_runs: false + plot_args: + subcases: ["Energy", ['9 - 12', '12 - 20']] + style: 'point' + ce_limits: [0.5, 1.5] + shorten_x_name: 1 +C/E photon spectra: + results: + - Photon spectra coarse + plot_type: ce + title: Photon spectra C/E + x_label: Position + y_labels: 'dummy' + x: Case + y: Value + expand_runs: false + plot_args: + subcases: ["Energy", ['0.4 - 3', '3 - 6', '6 - 10']] + style: 'point' + ce_limits: [0.5, 1.5] + shorten_x_name: 1 \ No newline at end of file diff --git a/src/jade/resources/default_cfg/benchmarks_pp/excel/TUD-W.yaml b/src/jade/resources/default_cfg/benchmarks_pp/excel/TUD-W.yaml index 155e92d9..1bcc5a4c 100644 --- a/src/jade/resources/default_cfg/benchmarks_pp/excel/TUD-W.yaml +++ b/src/jade/resources/default_cfg/benchmarks_pp/excel/TUD-W.yaml @@ -1,6 +1,6 @@ Neutron(%): results: - - Neutron flux + - Neutron spectra comparison_type: percentage table_type: pivot x: Energy @@ -12,7 +12,7 @@ Neutron(%): # Photon(%): results: - - Photon flux + - Photon spectra comparison_type: percentage table_type: pivot x: Energy @@ -20,4 +20,14 @@ Photon(%): value: Value add_error: True change_col_names: {'Energy': 'Energy [MeV]', 'Case': 'Position'} - conditional_formatting: {"red": 20, "orange": 10, "yellow": 5} \ No newline at end of file + conditional_formatting: {"red": 20, "orange": 10, "yellow": 5} +# +CE table: + results: + - Neutron spectra coarse + - Photon spectra coarse + comparison_type: ratio + table_type: simple + x: ['Result', 'Case', 'Energy'] + y: ['Value', 'Error'] + change_col_names: {'Energy': 'Energy [MeV]', 'Value': 'C/E'} \ No newline at end of file diff --git a/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/Oktavian.yaml b/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/Oktavian.yaml index 7c3d61f9..1b89b0b0 100644 --- a/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/Oktavian.yaml +++ b/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/Oktavian.yaml @@ -9,4 +9,4 @@ Coarse neutron flux: 21: [[lethargy, {}], [condense_groups, {"bins": [0.01, 0.1, 1, 3.5, 10, 20], "group_column": "Energy"}]] Coarse photon flux: concat_option: no_action - 41: [[lethargy, {}], [condense_groups, {"bins": [0.01, 0.1, 1, 3.5, 10, 20], "group_column": "Energy"}]] + 41: [[by_energy, {}], [condense_groups, {"bins": [0.01, 0.1, 1, 3.5, 10, 20], "group_column": "Energy"}]] diff --git a/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/TUD-W.yaml b/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/TUD-W.yaml index 9c670095..eae3d06f 100644 --- a/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/TUD-W.yaml +++ b/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/TUD-W.yaml @@ -1,6 +1,22 @@ -Neutron flux: +# normal binned fluxes +Neutron spectra: concat_option: no_action 4: [['by_energy', {}]] -Photon flux: +Photon spectra: concat_option: no_action - 44: [['by_energy', {}]] \ No newline at end of file + 44: [['by_energy', {}]] +# coarse fluxes +Neutron spectra coarse: + concat_option: no_action + 4: + - [condense_groups, + {"bins": [1, 3, 6, 9, 12, 20], + "group_column": "Energy"} + ] +Photon spectra coarse: + concat_option: no_action + 44: + - [condense_groups, + {"bins": [0.4, 3, 6, 10], + "group_column": "Energy"} + ] \ No newline at end of file diff --git a/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml b/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml index 8a1c7f47..17782afc 100644 --- a/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml +++ b/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml @@ -1,10 +1,26 @@ -Neutron flux: +# normal binned fluxes +Neutron spectra: concat_option: no_action 1: - ['by_energy', {}] - [format_decimals,{"decimals":{"Energy":2}}] -Photon flux: +Photon spectra: concat_option: no_action 2: - ['by_energy', {}] - - [format_decimals,{"decimals":{"Energy":2}}] \ No newline at end of file + - [format_decimals,{"decimals":{"Energy":2}}] +# coarse fluxes +Neutron spectra coarse: + concat_option: no_action + 1: + - [condense_groups, + {"bins": [1, 3, 6, 9, 12, 20], + "group_column": "Energy"} + ] +Photon spectra coarse: + concat_option: no_action + 2: + - [condense_groups, + {"bins": [0.4, 3, 6, 10], + "group_column": "Energy"} + ] \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv new file mode 100644 index 00000000..71609bb5 --- /dev/null +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1 - 3,0.0006670680000000002,0.055272033996955794 +3 - 6,4.6949999999999996e-05,0.015499919821917623 +6 - 9,2.09261e-05,0.01866518924852081 +9 - 12,2.0852299999999997e-05,0.0204480129109435 +12 - 20,0.0004885296,0.02051079104648593 \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron flux.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron flux.csv rename to tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron spectra.csv diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv new file mode 100644 index 00000000..b909dd53 --- /dev/null +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,0.0005090180000000001,0.011468973452113285 +3 - 6,9.913040000000001e-05,0.014543833539109168 +6 - 10,9.183430000000001e-06,0.05293085097747125 \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Photon flux.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Photon spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Photon flux.csv rename to tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Photon spectra.csv diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv new file mode 100644 index 00000000..0407c967 --- /dev/null +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1 - 3,0.00011690450000000003,0.044177550176399266 +3 - 6,6.04987e-06,0.012006305410500951 +6 - 9,2.02892e-06,0.016828076949438893 +9 - 12,2.0465299999999998e-06,0.01638227073735955 +12 - 20,2.746711e-05,0.0166790399872731 diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron flux.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron flux.csv rename to tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron spectra.csv diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv new file mode 100644 index 00000000..7ef9c874 --- /dev/null +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,9.281239999999998e-05,0.008582803054888226 +3 - 6,2.0666400000000003e-05,0.010456088127835888 +6 - 10,2.3020493e-06,0.04607864580796826 diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Photon flux.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Photon spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Photon flux.csv rename to tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Photon spectra.csv diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv new file mode 100644 index 00000000..6778874a --- /dev/null +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1 - 3,1.034701e-05,0.0368136720938039 +3 - 6,7.8203e-07,0.012476298554858956 +6 - 9,2.59007e-07,0.014920429387384708 +9 - 12,2.54244e-07,0.016211727616254796 +12 - 20,2.3372179999999995e-06,0.016216491144765928 diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron flux.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron flux.csv rename to tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron spectra.csv diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv new file mode 100644 index 00000000..9e83713c --- /dev/null +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,2.769584e-05,0.006912013639588464 +3 - 6,6.69157e-06,0.007512714909501298 +6 - 10,6.5568112e-07,0.02704777935710246 diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Photon flux.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Photon spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Photon flux.csv rename to tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Photon spectra.csv diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv new file mode 100644 index 00000000..46bda058 --- /dev/null +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1 - 3,1.479198e-06,0.03972163962673405 +3 - 6,1.12902e-07,0.012641359971755615 +6 - 9,4.0076e-08,0.02048733344316858 +9 - 12,3.8229000000000004e-08,0.022290092374674515 +12 - 20,2.6884000000000007e-07,0.02228972319596762 \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron flux.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron flux.csv rename to tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron spectra.csv diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv new file mode 100644 index 00000000..d5297623 --- /dev/null +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,7.805620000000002e-06,0.00848337660156153 +3 - 6,1.77817e-06,0.007564055256402892 +6 - 10,1.9815335e-07,0.028593435181506158 \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Photon flux.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Photon spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Photon flux.csv rename to tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Photon spectra.csv diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv new file mode 100644 index 00000000..9b4c6b9a --- /dev/null +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1 - 3,0.0023981461100000003,0.0004588298814824402 +3 - 6,6.0632284e-05,0.001986125193873161 +6 - 9,2.5692805e-05,0.003055016247164128 +9 - 12,2.3638798e-05,0.002950701492333428 +12 - 20,0.00044849973,0.0008687041923445236 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron flux.csv rename to tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra.csv diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv new file mode 100644 index 00000000..c2fb5baa --- /dev/null +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,0.00062632052,0.0006172030925102293 +3 - 6,8.716010600000001e-05,0.0021879101848743233 +6 - 10,3.6063616e-06,0.01424998901781491 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon flux.csv rename to tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra.csv diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv new file mode 100644 index 00000000..0ad51567 --- /dev/null +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1 - 3,0.0008566744479999999,0.00048334681187997135 +3 - 6,7.154498e-06,0.002425768332428117 +6 - 9,3.1168768e-06,0.003980949075700671 +9 - 12,3.0564712e-06,0.00413729529443785 +12 - 20,3.3567959e-05,0.0014558212215795366 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron flux.csv rename to tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra.csv diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv new file mode 100644 index 00000000..589d305c --- /dev/null +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,0.000112977369,0.0029473088026300835 +3 - 6,1.92452618e-05,0.008250462303909733 +6 - 10,7.3541265e-07,0.007452270493360278 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon flux.csv rename to tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra.csv diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv new file mode 100644 index 00000000..a3dd8e52 --- /dev/null +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1 - 3,0.0002421609303,0.0004931505235607164 +3 - 6,7.742142e-07,0.004053787589770078 +6 - 9,3.4437628e-07,0.006637151585414658 +9 - 12,3.3025913e-07,0.006947655362101941 +12 - 20,2.9078002000000002e-06,0.002568270677809489 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron flux.csv rename to tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra.csv diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv new file mode 100644 index 00000000..3fe1fdb0 --- /dev/null +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,2.8475968999999998e-05,0.0023259604243719358 +3 - 6,5.48437162e-06,0.017338258146707 +6 - 10,2.17556821e-07,0.013428614134067084 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon flux.csv rename to tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra.csv diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv new file mode 100644 index 00000000..d405b649 --- /dev/null +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1 - 3,5.9262255010000004e-05,0.0008936603122596306 +3 - 6,9.063146e-08,0.006815825494129326 +6 - 9,4.100501e-08,0.011288721946584849 +9 - 12,4.131135e-08,0.023808101185310848 +12 - 20,3.0376825000000003e-07,0.0048003453522832695 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron flux.csv rename to tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra.csv diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv new file mode 100644 index 00000000..224f4c16 --- /dev/null +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,7.2503001e-06,0.0008535664546944593 +3 - 6,1.42930795e-06,0.0013947817957440608 +6 - 10,5.7570183e-08,0.00624547588248901 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra.csv similarity index 100% rename from tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon flux.csv rename to tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra.csv diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/metadata.json b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/metadata.json index 1937c2be..592b0b79 100644 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/metadata.json +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/metadata.json @@ -4,6 +4,6 @@ "jade_run_version": "3.1.0", "library": "FENDL 3.1d", "code": "mcnp", - "jade_version": "3.1.0", + "jade_version": "4.2.0", "code_version": null } \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos1 Neutron flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos1 Neutron flux.csv deleted file mode 100644 index cbf9cd90..00000000 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos1 Neutron flux.csv +++ /dev/null @@ -1,144 +0,0 @@ -Energy,Value,Error -1.11,0.001958657657834113,0.0005 -1.18,0.00031847428571428645,0.0024 -1.25,0.0002855271428571426,0.0025 -1.32,0.00025139999999999977,0.0028 -1.39,0.00022519428571428623,0.0031 -1.47,0.0002027262499999998,0.0034 -1.54,0.00018098857142857127,0.0033 -1.62,0.00016401874999999986,0.0033 -1.69,0.00014845428571428604,0.0038 -1.77,0.0001366337499999999,0.004 -1.85,0.0001250412499999999,0.0039 -1.92,0.00011447528571428597,0.0044 -2.0,0.0001065883749999999,0.0043 -2.08,9.855524999999992e-05,0.0051 -2.16,9.014662499999993e-05,0.0046 -2.24,8.475499999999993e-05,0.0051 -2.32,7.817875000000037e-05,0.0053 -2.4,7.258324999999994e-05,0.0054 -2.48,6.862174999999995e-05,0.0054 -2.56,6.406687499999994e-05,0.0057 -2.64,6.0261999999999946e-05,0.0057 -2.72,5.622462499999996e-05,0.0066 -2.81,5.151955555555564e-05,0.0059 -2.89,4.645787499999996e-05,0.0063 -2.97,4.270612499999996e-05,0.0066 -3.06,4.237555555555562e-05,0.0073 -3.14,4.025649999999996e-05,0.0089 -3.23,3.729155555555561e-05,0.0074 -3.31,3.467412499999997e-05,0.0082 -3.4,3.2148444444444495e-05,0.0075 -3.49,3.0391444444444342e-05,0.0086 -3.58,2.830766666666671e-05,0.0082 -3.66,2.787862499999998e-05,0.0092 -3.75,2.6613222222222266e-05,0.0109 -3.84,2.5082333333333373e-05,0.0146 -3.93,2.3558444444444366e-05,0.0084 -4.02,2.3016444444444593e-05,0.0104 -4.11,2.1887333333333153e-05,0.0092 -4.2,2.084244444444448e-05,0.0113 -4.29,1.950788888888892e-05,0.0094 -4.38,1.9362555555555588e-05,0.0113 -4.47,1.8080888888888917e-05,0.011 -4.57,1.7438399999999907e-05,0.0108 -4.66,1.6606000000000027e-05,0.0105 -4.75,1.6135111111111137e-05,0.0106 -4.85,1.5261400000000053e-05,0.011 -4.94,1.46232222222221e-05,0.0113 -5.03,1.39337777777778e-05,0.0129 -5.13,1.2790700000000045e-05,0.0121 -5.22,1.2768888888888909e-05,0.0134 -5.32,1.2278099999999934e-05,0.024 -5.42,1.1778600000000042e-05,0.0148 -5.51,1.1536333333333352e-05,0.0178 -5.61,1.1092199999999941e-05,0.013 -5.71,1.089460000000004e-05,0.0132 -5.81,1.0914400000000039e-05,0.0162 -5.9,1.0480611111111023e-05,0.0144 -6.0,1.0202800000000037e-05,0.0128 -6.1,9.930330000000035e-06,0.015 -6.2,9.987649999999947e-06,0.0157 -6.3,9.362910000000033e-06,0.0163 -6.4,9.097639999999951e-06,0.0163 -6.5,9.321450000000033e-06,0.0165 -6.6,9.011100000000031e-06,0.0189 -6.7,9.25684999999995e-06,0.0133 -6.81,9.535272727272775e-06,0.0161 -6.91,9.719629999999949e-06,0.0152 -7.01,9.495220000000034e-06,0.0137 -7.11,9.49784999999995e-06,0.0192 -7.22,9.109090909090957e-06,0.013 -7.32,8.647459999999953e-06,0.0127 -7.42,8.19721000000003e-06,0.0148 -7.53,8.064554545454522e-06,0.0155 -7.63,7.930920000000027e-06,0.0191 -7.74,7.748790909090886e-06,0.0131 -7.84,7.726540000000028e-06,0.019 -7.95,7.34760909090907e-06,0.0199 -8.06,7.302245454545433e-06,0.0131 -8.16,7.4542200000000265e-06,0.0215 -8.27,7.751418181818222e-06,0.0473 -8.38,7.43520909090901e-06,0.0165 -8.49,7.306272727272765e-06,0.0153 -8.59,7.540560000000026e-06,0.0154 -8.7,7.414481818181856e-06,0.0147 -8.81,7.616009090909008e-06,0.0133 -8.92,8.229681818181861e-06,0.0557 -9.03,7.668181818181857e-06,0.0152 -9.14,8.162245454545365e-06,0.033 -9.25,8.002172727272768e-06,0.0187 -9.36,8.17597272727277e-06,0.0175 -9.47,8.268954545454455e-06,0.0134 -9.59,8.604833333333389e-06,0.0126 -9.7,8.804554545454591e-06,0.0135 -9.81,8.817318181818084e-06,0.0144 -9.92,9.04673636363641e-06,0.014 -10.0,8.916299999999993e-06,0.0225 -10.1,8.808510000000032e-06,0.0154 -10.3,8.150349999999957e-06,0.0092 -10.4,7.827270000000029e-06,0.0131 -10.5,7.960800000000027e-06,0.0132 -10.6,7.942090000000028e-06,0.0158 -10.7,7.987880000000028e-06,0.0154 -10.8,7.790269999999888e-06,0.0138 -11.0,7.609100000000027e-06,0.0094 -11.1,7.418930000000026e-06,0.0173 -11.2,7.407320000000026e-06,0.0172 -11.3,7.4100499999998944e-06,0.0185 -11.4,7.164490000000025e-06,0.017 -11.5,7.4824200000000265e-06,0.0186 -11.7,7.601850000000026e-06,0.0147 -11.8,7.75653999999989e-06,0.0208 -11.9,8.016340000000028e-06,0.0199 -12.0,7.873900000000028e-06,0.0216 -12.1,7.921650000000028e-06,0.0201 -12.2,7.976880000000029e-06,0.0168 -12.4,8.501999999999955e-06,0.0189 -12.5,9.039480000000031e-06,0.0244 -12.6,9.666170000000034e-06,0.0454 -12.7,9.503450000000033e-06,0.0322 -12.9,9.179649999999952e-06,0.0195 -13.0,8.55092000000003e-06,0.0168 -13.1,8.48014000000003e-06,0.013 -13.2,8.53295000000003e-06,0.016 -13.3,8.33703999999988e-06,0.0172 -13.5,9.092000000000033e-06,0.0202 -13.6,1.111990000000004e-05,0.018 -13.7,1.3778300000000049e-05,0.0134 -13.8,1.5054099999999787e-05,0.0123 -14.0,1.6523950000000057e-05,0.0077 -14.1,2.2089800000000078e-05,0.009 -14.2,3.2328200000000115e-05,0.0077 -14.3,6.481269999999908e-05,0.006 -14.5,0.00022432700000000078,0.0026 -14.6,0.0005204490000000018,0.0025 -14.7,0.0007112090000000026,0.0022 -14.8,0.0007378279999999894,0.0021 -15.0,0.0005326150000000019,0.0018 -15.1,0.00033082400000000115,0.0032 -15.2,0.00024514200000000087,0.0038 -15.4,4.809034999999974e-05,0.0062 -15.5,0.0,0.0 -15.6,0.0,0.0 -15.7,0.0,0.0 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos1 Photon flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos1 Photon flux.csv deleted file mode 100644 index aa22c86e..00000000 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos1 Photon flux.csv +++ /dev/null @@ -1,139 +0,0 @@ -Energy,Value,Error -0.413,0.000282053268833427,0.0012 -0.433,0.0003784739999999997,0.004 -0.453,0.00037432649999999965,0.0039 -0.473,0.0003733250000000007,0.0041 -0.495,0.0003737481818181815,0.004 -0.517,0.0018785090909090893,0.002 -0.538,0.00030274476190476164,0.0046 -0.562,0.00029205874999999976,0.0046 -0.585,0.0002806426086956533,0.0047 -0.609,0.00028762958333333305,0.0047 -0.632,0.00030217608695652144,0.0044 -0.657,0.00026385599999999976,0.0056 -0.683,0.0002612269230769228,0.0049 -0.709,0.0002492865384615393,0.0048 -0.735,0.0002663084615384613,0.0048 -0.761,0.0003083803846153843,0.0045 -0.789,0.00025464107142857123,0.0052 -0.817,0.00029300964285714377,0.0049 -0.874,0.0002718333333333331,0.0035 -0.903,0.0003044799999999997,0.0049 -0.933,0.0002952223333333331,0.0046 -0.964,0.0002419722580645168,0.0053 -0.993,0.00023154137931034462,0.0055 -1.03,0.0002467224324324322,0.0048 -1.06,0.00024058166666666644,0.0053 -1.09,0.0002282289999999998,0.0062 -1.12,0.00023514766666666645,0.0056 -1.16,0.0002413265000000011,0.0049 -1.19,0.00022886399999999982,0.0058 -1.23,0.0002270542499999998,0.0051 -1.26,0.00023088766666666647,0.0059 -1.3,0.0002157617499999998,0.0053 -1.34,0.0002299109999999998,0.0057 -1.37,0.0002105189999999998,0.0065 -1.41,0.00020537500000000097,0.0055 -1.45,0.0002040514999999998,0.0054 -1.49,0.00021551574999999982,0.0057 -1.53,0.00019067924999999984,0.006 -1.57,0.00018478699999999984,0.0064 -1.61,0.00018362424999999986,0.0069 -1.65,0.00017609400000000082,0.0061 -1.69,0.00017261999999999985,0.0064 -1.73,0.00017489899999999984,0.0072 -1.78,0.00016961399999999984,0.006 -1.82,0.00016772424999999985,0.0066 -1.86,0.00016360674999999985,0.0074 -1.91,0.00015975100000000056,0.0062 -1.96,0.00015395139999999986,0.0068 -2.0,0.00015038274999999986,0.0072 -2.05,0.00014581600000000052,0.0071 -2.1,0.00014014019999999925,0.0066 -2.14,0.0001399357499999999,0.0073 -2.19,0.00013187940000000046,0.0071 -2.24,0.00019789339999999895,0.0048 -2.29,0.00012528400000000044,0.0072 -2.34,0.00012285320000000045,0.0092 -2.4,0.00011931349999999989,0.0093 -2.45,0.0001137223999999994,0.0077 -2.5,0.0001099834000000004,0.0092 -2.56,0.00010678983333333324,0.0078 -2.61,0.00010237040000000036,0.0082 -2.66,9.792979999999948e-05,0.0091 -2.72,9.455949999999991e-05,0.0092 -2.78,9.086633333333392e-05,0.0081 -2.83,8.545059999999954e-05,0.0106 -2.89,8.368433333333326e-05,0.0088 -2.95,7.990299999999993e-05,0.0108 -3.01,7.648983333333382e-05,0.0093 -3.07,7.34426666666666e-05,0.0093 -3.13,6.975749999999993e-05,0.0097 -3.19,6.684316666666662e-05,0.0108 -3.25,6.301016666666661e-05,0.0106 -3.32,6.232885714285729e-05,0.0122 -3.38,5.754599999999995e-05,0.0104 -3.45,5.418542857142835e-05,0.0134 -3.51,5.1641000000000334e-05,0.0126 -3.58,4.704085714285695e-05,0.0098 -3.65,4.498142857142867e-05,0.0109 -3.71,4.389966666666663e-05,0.0118 -3.78,4.084885714285723e-05,0.0152 -3.85,3.737799999999985e-05,0.0115 -3.92,3.505900000000008e-05,0.0136 -3.99,3.264199999999987e-05,0.013 -4.06,3.058314285714312e-05,0.0146 -4.14,2.8961249999999973e-05,0.0326 -4.21,2.5688571428571323e-05,0.0151 -4.29,2.354537499999998e-05,0.0143 -4.36,2.4497714285714184e-05,0.0231 -4.44,0.00010355562499999991,0.0034 -4.51,2.051928571428589e-05,0.0152 -4.59,1.7925749999999983e-05,0.0173 -4.67,2.5109124999999978e-05,0.0136 -4.75,1.8279749999999984e-05,0.0169 -4.83,1.069373749999999e-05,0.0201 -4.91,1.032739999999999e-05,0.0208 -5.0,9.189600000000014e-06,0.022 -5.08,8.028149999999994e-06,0.0264 -5.17,7.105366666666678e-06,0.0239 -5.25,6.142024999999994e-06,0.0257 -5.34,1.4869222222222245e-05,0.0186 -5.43,4.44483333333334e-06,0.0312 -5.51,6.750362499999994e-06,0.0304 -5.6,3.4318888888888942e-06,0.0366 -5.69,4.085322222222189e-06,0.0396 -5.79,4.663970000000017e-06,0.0279 -5.88,3.823088888888895e-06,0.044 -5.97,2.0272000000000032e-06,0.0674 -6.07,4.3966099999999765e-06,0.0452 -6.16,4.981211111111119e-06,0.0315 -6.26,2.7209600000000098e-06,0.0438 -6.36,2.3075599999999876e-06,0.112 -6.46,1.8532000000000065e-06,0.0472 -6.55,2.0286000000000033e-06,0.0779 -6.66,9.146909090909065e-07,0.0671 -6.76,8.70112000000003e-07,0.127 -6.86,1.0193899999999946e-06,0.0475 -6.97,7.410727272727311e-07,0.0769 -7.07,4.808809999999974e-07,0.1003 -7.18,8.260763636363678e-07,0.0887 -7.28,7.403309999999961e-07,0.0874 -7.39,2.1312636363636474e-06,0.0497 -7.5,1.0720181818181786e-06,0.0469 -7.62,8.955833333333325e-07,0.052 -7.73,4.74283636363635e-07,0.0747 -7.84,7.282618181818219e-07,0.0704 -7.96,3.8889749999999966e-07,0.1032 -8.07,2.66718181818181e-07,0.1289 -8.19,3.7318083333333575e-07,0.1174 -8.31,2.464283333333313e-07,0.1337 -8.43,2.04766666666668e-07,0.1333 -8.55,8.598249999999929e-07,0.0585 -8.67,2.02784166666668e-07,0.0977 -8.79,2.00201666666668e-07,0.1516 -8.92,1.1903384615384543e-07,0.1641 -9.04,1.6545916666666775e-06,0.0328 -9.17,3.1737846153845967e-07,0.0783 -9.3,1.2459230769230693e-07,0.142 -9.43,7.208876923076979e-08,0.1587 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos2 Neutron flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos2 Neutron flux.csv deleted file mode 100644 index d687e88c..00000000 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos2 Neutron flux.csv +++ /dev/null @@ -1,144 +0,0 @@ -Energy,Value,Error -1.11,0.0007454954955626572,0.0005 -1.18,5.103485714285726e-05,0.0031 -1.25,4.382057142857139e-05,0.0034 -1.32,3.7661285714285676e-05,0.0036 -1.39,3.263300000000008e-05,0.0039 -1.47,2.8393124999999976e-05,0.004 -1.54,2.486242857142855e-05,0.0045 -1.62,2.1799874999999982e-05,0.0045 -1.69,1.9784142857142903e-05,0.0051 -1.77,1.7667124999999984e-05,0.005 -1.85,1.572537499999999e-05,0.0053 -1.92,1.433457142857146e-05,0.006 -2.0,1.339512499999999e-05,0.0058 -2.08,1.208061249999999e-05,0.0061 -2.16,1.1108974999999991e-05,0.0064 -2.24,1.0227524999999991e-05,0.0067 -2.32,9.324962500000043e-06,0.0071 -2.4,8.78479999999999e-06,0.0073 -2.48,8.185112499999993e-06,0.0076 -2.56,7.567524999999993e-06,0.0079 -2.64,7.133249999999993e-06,0.0082 -2.72,6.570124999999993e-06,0.0085 -2.81,6.1032222222222324e-06,0.0083 -2.89,5.515699999999995e-06,0.0092 -2.97,5.086837499999995e-06,0.0095 -3.06,5.0819777777777854e-06,0.0093 -3.14,4.606599999999996e-06,0.0103 -3.23,4.383200000000007e-06,0.0101 -3.31,4.060537499999997e-06,0.0109 -3.4,3.734511111111117e-06,0.0106 -3.49,3.585055555555544e-06,0.011 -3.58,3.4500222222222275e-06,0.0113 -3.66,3.245474999999997e-06,0.0125 -3.75,3.0552222222222266e-06,0.0119 -3.84,2.830144444444449e-06,0.0126 -3.93,2.817655555555546e-06,0.0126 -4.02,2.6414222222222396e-06,0.0134 -4.11,2.4886777777777572e-06,0.0134 -4.2,2.439900000000004e-06,0.0138 -4.29,2.320655555555559e-06,0.0142 -4.38,2.245155555555559e-06,0.0146 -4.47,2.038100000000003e-06,0.015 -4.57,2.0483099999999888e-06,0.0141 -4.66,1.9525555555555587e-06,0.0158 -4.75,1.9398444444444474e-06,0.016 -4.85,1.8388900000000066e-06,0.0155 -4.94,1.7186777777777636e-06,0.0167 -5.03,1.6461000000000028e-06,0.0175 -5.13,1.5979900000000056e-06,0.0172 -5.22,1.5225000000000024e-06,0.0184 -5.32,1.508579999999992e-06,0.0175 -5.42,1.3966500000000049e-06,0.0186 -5.51,1.4153000000000021e-06,0.02 -5.61,1.4280099999999926e-06,0.0187 -5.71,1.3359000000000047e-06,0.0193 -5.81,1.3024200000000048e-06,0.0193 -5.9,1.2602777777777672e-06,0.0198 -6.0,1.2772800000000044e-06,0.0194 -6.1,1.2003000000000042e-06,0.0196 -6.2,1.1586899999999938e-06,0.0204 -6.3,1.115390000000004e-06,0.0203 -6.4,1.0814399999999943e-06,0.0207 -6.5,1.160600000000004e-06,0.0211 -6.6,1.113300000000004e-06,0.0206 -6.7,1.1158099999999941e-06,0.021 -6.81,1.1383818181818242e-06,0.0205 -6.91,1.135279999999994e-06,0.02 -7.01,1.099820000000004e-06,0.0202 -7.11,1.0755899999999943e-06,0.0215 -7.22,1.023709090909096e-06,0.0195 -7.32,1.0207899999999945e-06,0.0209 -7.42,9.724010000000034e-07,0.0218 -7.53,9.601363636363608e-07,0.0209 -7.63,9.683250000000036e-07,0.0228 -7.74,9.6262727272727e-07,0.0286 -7.84,8.889220000000031e-07,0.0238 -7.95,9.369909090909064e-07,0.0216 -8.06,8.900827272727247e-07,0.0213 -8.16,9.104640000000032e-07,0.0233 -8.27,9.65818181818187e-07,0.0311 -8.38,9.441363636363533e-07,0.0221 -8.49,9.70909090909096e-07,0.0214 -8.59,9.725430000000033e-07,0.0227 -8.7,9.28481818181823e-07,0.0221 -8.81,9.419727272727169e-07,0.0212 -8.92,9.871909090909142e-07,0.0215 -9.03,1.0146909090909143e-06,0.0217 -9.14,1.0041272727272617e-06,0.0213 -9.25,9.975727272727324e-07,0.0222 -9.36,1.0083909090909143e-06,0.0205 -9.47,1.0387909090908977e-06,0.0216 -9.59,1.0644416666666737e-06,0.0195 -9.7,1.066654545454551e-06,0.0195 -9.81,1.1356727272727146e-06,0.0196 -9.92,1.1237363636363695e-06,0.0212 -10.0,1.174159999999999e-06,0.0262 -10.1,1.149640000000004e-06,0.0206 -10.3,1.114024999999994e-06,0.0144 -10.4,1.0381900000000036e-06,0.0214 -10.5,1.0339000000000038e-06,0.021 -10.6,1.0503100000000036e-06,0.0219 -10.7,1.0749500000000038e-06,0.0224 -10.8,1.0222799999999854e-06,0.0225 -11.0,9.841000000000036e-07,0.0159 -11.1,9.490250000000034e-07,0.026 -11.2,9.868970000000035e-07,0.0236 -11.3,9.380759999999866e-07,0.0227 -11.4,9.493270000000035e-07,0.0224 -11.5,9.314240000000033e-07,0.0225 -11.7,9.799550000000036e-07,0.0165 -11.8,9.575489999999863e-07,0.0237 -11.9,1.0086000000000036e-06,0.0239 -12.0,9.961440000000036e-07,0.0253 -12.1,9.684970000000034e-07,0.0235 -12.2,9.720000000000034e-07,0.0225 -12.4,1.0175049999999946e-06,0.0175 -12.5,1.074740000000004e-06,0.0231 -12.6,1.1751700000000042e-06,0.0254 -12.7,1.143550000000004e-06,0.0253 -12.9,1.1806749999999936e-06,0.0171 -13.0,1.1768000000000041e-06,0.0205 -13.1,1.1586800000000041e-06,0.0201 -13.2,1.110680000000004e-06,0.0208 -13.3,1.1661799999999835e-06,0.0208 -13.5,1.2003750000000042e-06,0.015 -13.6,1.3566800000000048e-06,0.0212 -13.7,1.5203400000000054e-06,0.0189 -13.8,1.6366999999999769e-06,0.018 -14.0,1.9860950000000068e-06,0.0119 -14.1,2.7890800000000097e-06,0.0142 -14.2,4.2971900000000155e-06,0.0119 -14.3,7.6098299999998915e-06,0.0092 -14.5,2.049395000000007e-05,0.0041 -14.6,4.027050000000014e-05,0.0042 -14.7,5.059710000000018e-05,0.0037 -14.8,5.009199999999929e-05,0.0038 -15.0,3.5135700000000125e-05,0.0033 -15.1,2.1363400000000077e-05,0.0058 -15.2,1.5038800000000053e-05,0.007 -15.4,2.7522449999999855e-06,0.0121 -15.5,0.0,0.0 -15.6,0.0,0.0 -15.7,0.0,0.0 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos2 Photon flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos2 Photon flux.csv deleted file mode 100644 index ef39e139..00000000 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos2 Photon flux.csv +++ /dev/null @@ -1,139 +0,0 @@ -Energy,Value,Error -0.413,4.8547699769624144e-05,0.003 -0.433,6.352649999999994e-05,0.0041 -0.453,6.175899999999994e-05,0.0041 -0.473,6.210900000000012e-05,0.0045 -0.495,6.265272727272721e-05,0.0042 -0.517,0.00039054272727272687,0.005 -0.538,5.147952380952376e-05,0.0044 -0.562,4.8182499999999954e-05,0.0044 -0.585,4.6801304347826266e-05,0.0048 -0.609,4.894541666666663e-05,0.0056 -0.632,4.9833913043478214e-05,0.0065 -0.657,4.320639999999996e-05,0.0048 -0.683,4.353307692307689e-05,0.0046 -0.709,4.104076923076937e-05,0.0055 -0.735,4.59834615384615e-05,0.0046 -0.761,5.1610384615384574e-05,0.0043 -0.789,4.4468571428571394e-05,0.0059 -0.817,5.371571428571445e-05,0.0043 -0.874,4.706052631578943e-05,0.0036 -0.903,5.773103448275857e-05,0.0056 -0.933,5.7172666666666615e-05,0.0048 -0.964,4.235129032258076e-05,0.0049 -0.993,3.888206896551721e-05,0.0068 -1.03,4.378270270270266e-05,0.0048 -1.06,4.140433333333329e-05,0.0057 -1.09,3.8646666666666637e-05,0.0055 -1.12,3.97843333333333e-05,0.0069 -1.16,4.044175000000019e-05,0.0048 -1.19,3.738666666666663e-05,0.0056 -1.23,3.708974999999997e-05,0.0065 -1.26,3.714899999999997e-05,0.0062 -1.3,3.616899999999997e-05,0.0058 -1.34,3.762774999999997e-05,0.0057 -1.37,3.527099999999997e-05,0.007 -1.41,3.5578750000000165e-05,0.0128 -1.45,3.524774999999997e-05,0.0053 -1.49,3.589199999999997e-05,0.0053 -1.53,3.3169499999999974e-05,0.0059 -1.57,3.239824999999997e-05,0.0067 -1.61,3.2581749999999977e-05,0.0063 -1.65,3.1592250000000145e-05,0.0062 -1.69,3.134849999999997e-05,0.0068 -1.73,3.193324999999997e-05,0.0058 -1.78,3.1198599999999976e-05,0.0052 -1.82,3.215799999999997e-05,0.0347 -1.86,2.9767999999999973e-05,0.0059 -1.91,2.9875600000000107e-05,0.0064 -1.96,2.9105999999999975e-05,0.0059 -2.0,2.8412499999999976e-05,0.0088 -2.05,2.79252000000001e-05,0.0076 -2.1,2.7091799999999858e-05,0.0059 -2.14,2.6647499999999978e-05,0.0065 -2.19,2.6220200000000095e-05,0.0082 -2.24,3.2674399999999824e-05,0.0051 -2.29,2.459200000000009e-05,0.0061 -2.34,2.3977000000000086e-05,0.0069 -2.4,2.3545333333333313e-05,0.0065 -2.45,2.283279999999988e-05,0.0074 -2.5,2.253440000000008e-05,0.0122 -2.56,2.154399999999998e-05,0.0072 -2.61,2.066680000000007e-05,0.0067 -2.66,2.0166999999999893e-05,0.0066 -2.72,1.9759499999999983e-05,0.007 -2.78,1.8816166666666786e-05,0.0063 -2.83,1.8233339999999905e-05,0.0082 -2.89,1.752633333333332e-05,0.0068 -2.95,1.697933333333332e-05,0.0086 -3.01,1.6434216666666774e-05,0.0112 -3.07,1.5766249999999985e-05,0.0081 -3.13,1.504688333333332e-05,0.0074 -3.19,1.446243333333332e-05,0.0076 -3.25,1.453258333333332e-05,0.0357 -3.32,1.3230942857142887e-05,0.0069 -3.38,1.2900083333333322e-05,0.009 -3.45,1.2105428571428522e-05,0.0072 -3.51,1.1519350000000076e-05,0.0084 -3.58,1.1003171428571384e-05,0.0133 -3.65,1.0413500000000023e-05,0.0088 -3.71,9.888399999999992e-06,0.0087 -3.78,9.183014285714306e-06,0.0081 -3.85,8.824499999999964e-06,0.0092 -3.92,8.128257142857162e-06,0.0084 -3.99,8.30895714285711e-06,0.0785 -4.06,7.191185714285776e-06,0.0096 -4.14,6.671262499999994e-06,0.0093 -4.21,6.112928571428546e-06,0.0098 -4.29,5.694999999999995e-06,0.0107 -4.36,5.985928571428547e-06,0.0102 -4.44,1.128283749999999e-05,0.006 -4.51,5.087471428571473e-06,0.0124 -4.59,4.464737499999996e-06,0.0123 -4.67,6.308499999999994e-06,0.0081 -4.75,4.619137499999995e-06,0.0105 -4.83,2.7374249999999978e-06,0.0145 -4.91,2.5714624999999977e-06,0.0157 -5.0,2.1312888888888922e-06,0.0144 -5.08,1.8645999999999984e-06,0.0165 -5.17,1.8112333333333363e-06,0.0176 -5.25,1.5293249999999987e-06,0.019 -5.34,3.6638777777777837e-06,0.01 -5.43,1.1178333333333352e-06,0.0207 -5.51,1.6532749999999986e-06,0.0167 -5.6,7.421288888888901e-07,0.0284 -5.69,1.0049111111111028e-06,0.0219 -5.79,1.417590000000005e-06,0.017 -5.88,1.0112355555555571e-06,0.0208 -5.97,3.481777777777783e-07,0.0403 -6.07,1.1009999999999942e-06,0.05 -6.16,1.0898111111111128e-06,0.0168 -6.26,5.754740000000021e-07,0.0257 -6.36,4.5719999999999756e-07,0.029 -6.46,4.374400000000015e-07,0.0319 -6.55,4.337944444444451e-07,0.0329 -6.66,1.2881727272727235e-07,0.051 -6.76,9.422280000000033e-08,0.0929 -6.86,1.5796799999999918e-07,0.0506 -6.97,5.1445909090909357e-08,0.0925 -7.07,5.023059999999973e-08,0.0992 -7.18,5.071163636363663e-08,0.091 -7.28,1.4212299999999924e-07,0.0481 -7.39,6.312963636363669e-07,0.0205 -7.5,3.2074909090908996e-07,0.0366 -7.62,1.726208333333332e-07,0.0394 -7.73,7.960645454545432e-08,0.0587 -7.84,1.2768272727272794e-07,0.0554 -7.96,7.402349999999993e-08,0.1005 -8.07,2.865863636363628e-08,0.1257 -8.19,5.1126666666667e-08,0.07 -8.31,3.1460916666666406e-08,0.1535 -8.43,2.0009250000000133e-08,0.1686 -8.55,1.6673833333333193e-07,0.029 -8.67,7.872691666666718e-08,0.0786 -8.79,4.115350000000027e-08,0.0915 -8.92,2.4023230769230625e-08,0.0879 -9.04,3.4173083333333556e-07,0.0206 -9.17,1.246461538461531e-07,0.0482 -9.3,2.8907615384615208e-08,0.1432 -9.43,1.9040307692307837e-08,0.1584 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos3 Neutron flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos3 Neutron flux.csv deleted file mode 100644 index 2f023706..00000000 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos3 Neutron flux.csv +++ /dev/null @@ -1,144 +0,0 @@ -Energy,Value,Error -1.11,0.0002153729729923759,0.0006 -1.18,6.5330142857143e-06,0.0048 -1.25,5.5095857142857095e-06,0.0052 -1.32,4.613942857142853e-06,0.0057 -1.39,3.890514285714295e-06,0.0062 -1.47,3.3036749999999972e-06,0.0064 -1.54,2.870742857142855e-06,0.0072 -1.62,2.469887499999998e-06,0.0074 -1.69,2.198057142857148e-06,0.0084 -1.77,1.981749999999998e-06,0.0083 -1.85,1.7681624999999983e-06,0.0089 -1.92,1.585428571428575e-06,0.0099 -2.0,1.4714749999999987e-06,0.0098 -2.08,1.3215374999999988e-06,0.0102 -2.16,1.206851249999999e-06,0.0106 -2.24,1.119209999999999e-06,0.0114 -2.32,1.0270975000000048e-06,0.0119 -2.4,9.375787499999993e-07,0.0125 -2.48,8.861762499999993e-07,0.0126 -2.56,8.244349999999993e-07,0.0132 -2.64,7.630887499999993e-07,0.0137 -2.72,7.178449999999994e-07,0.0143 -2.81,6.705644444444455e-07,0.0139 -2.89,6.210662499999994e-07,0.0152 -2.97,5.457674999999995e-07,0.0161 -3.06,5.41452222222223e-07,0.0158 -3.14,5.150724999999995e-07,0.0174 -3.23,4.811544444444452e-07,0.0169 -3.31,4.379974999999996e-07,0.0185 -3.4,3.9892222222222284e-07,0.0182 -3.49,3.813188888888876e-07,0.0186 -3.58,3.633866666666673e-07,0.0186 -3.66,3.376762499999997e-07,0.0205 -3.75,3.3253444444444496e-07,0.0204 -3.84,3.252511111111116e-07,0.0203 -3.93,3.038911111111101e-07,0.0216 -4.02,2.8859444444444633e-07,0.0226 -4.11,2.7068777777777554e-07,0.0228 -4.2,2.560922222222226e-07,0.0227 -4.29,2.5028333333333373e-07,0.0238 -4.38,2.4453888888888927e-07,0.0241 -4.47,2.2815333333333368e-07,0.0249 -4.57,2.1360699999999885e-07,0.0245 -4.66,2.15656666666667e-07,0.0273 -4.75,1.9449555555555586e-07,0.0278 -4.85,2.0433600000000073e-07,0.0269 -4.94,1.8213555555555404e-07,0.0283 -5.03,1.896122222222225e-07,0.0298 -5.13,1.7905600000000065e-07,0.0285 -5.22,1.6924777777777804e-07,0.0311 -5.32,1.5957299999999918e-07,0.0298 -5.42,1.5603900000000054e-07,0.0297 -5.51,1.5632444444444469e-07,0.0325 -5.61,1.4481699999999922e-07,0.0309 -5.71,1.431220000000005e-07,0.0313 -5.81,1.4918200000000052e-07,0.0324 -5.9,1.3783888888888774e-07,0.0333 -6.0,1.4311100000000052e-07,0.0324 -6.1,1.3363400000000047e-07,0.0334 -6.2,1.2845099999999933e-07,0.033 -6.3,1.1809600000000041e-07,0.0342 -6.4,1.1695899999999939e-07,0.0345 -6.5,1.1848900000000042e-07,0.0357 -6.6,1.2744800000000044e-07,0.0355 -6.7,1.1646599999999938e-07,0.0356 -6.81,1.1798545454545516e-07,0.0335 -6.91,1.2120299999999934e-07,0.034 -7.01,1.2119300000000044e-07,0.0356 -7.11,1.1878399999999938e-07,0.0361 -7.22,1.161481818181824e-07,0.0338 -7.32,1.1150699999999941e-07,0.0365 -7.42,1.124720000000004e-07,0.0379 -7.53,1.0276454545454515e-07,0.0349 -7.63,1.107990000000004e-07,0.0375 -7.74,1.0222545454545425e-07,0.0347 -7.84,1.0469600000000037e-07,0.0385 -7.95,1.0097636363636334e-07,0.0365 -8.06,9.936999999999972e-08,0.0365 -8.16,1.0401200000000036e-07,0.0383 -8.27,1.0242090909090961e-07,0.0358 -8.38,1.012090909090898e-07,0.0374 -8.49,1.0303818181818235e-07,0.0385 -8.59,9.429930000000034e-08,0.0382 -8.7,1.1062909090909149e-07,0.0362 -8.81,1.1409636363636238e-07,0.0375 -8.92,1.0640363636363692e-07,0.0379 -9.03,1.1034454545454603e-07,0.0358 -9.14,1.0978272727272607e-07,0.0362 -9.25,1.1136909090909148e-07,0.0351 -9.36,1.1487090909090969e-07,0.0355 -9.47,1.114481818181806e-07,0.0348 -9.59,1.2348166666666747e-07,0.0338 -9.7,1.2179090909090974e-07,0.0356 -9.81,1.212381818181805e-07,0.0352 -9.92,1.211118181818188e-07,0.0335 -10.0,1.1942274999999988e-07,0.0396 -10.1,1.2283700000000043e-07,0.0359 -10.3,1.131734999999994e-07,0.0271 -10.4,1.1203000000000039e-07,0.0365 -10.5,1.1982400000000042e-07,0.0378 -10.6,1.1473200000000041e-07,0.0386 -10.7,1.1039700000000039e-07,0.0374 -10.8,1.1083999999999843e-07,0.0377 -11.0,1.0539700000000038e-07,0.0278 -11.1,1.0280800000000037e-07,0.0405 -11.2,9.579770000000034e-08,0.0403 -11.3,1.055759999999985e-07,0.0397 -11.4,1.0846400000000038e-07,0.0397 -11.5,1.0261700000000037e-07,0.0389 -11.7,1.0376800000000036e-07,0.0277 -11.8,1.0834399999999846e-07,0.0398 -11.9,9.958450000000036e-08,0.0406 -12.0,1.0351600000000037e-07,0.0388 -12.1,9.965330000000035e-08,0.0376 -12.2,1.0155500000000036e-07,0.0396 -12.4,1.0329849999999946e-07,0.029 -12.5,1.1870200000000042e-07,0.0389 -12.6,1.1995800000000042e-07,0.04 -12.7,1.1666400000000042e-07,0.0396 -12.9,1.2642699999999934e-07,0.0272 -13.0,1.2128300000000044e-07,0.0376 -13.1,1.2416900000000043e-07,0.0359 -13.2,1.199990000000004e-07,0.0367 -13.3,1.2118199999999829e-07,0.0377 -13.5,1.2252200000000044e-07,0.027 -13.6,1.3318100000000046e-07,0.0357 -13.7,1.466250000000005e-07,0.0341 -13.8,1.616899999999977e-07,0.0323 -14.0,1.969890000000007e-07,0.0209 -14.1,3.061110000000011e-07,0.024 -14.2,5.134130000000018e-07,0.0202 -14.3,8.674139999999877e-07,0.0153 -14.5,2.0524400000000075e-06,0.0071 -14.6,3.6895700000000134e-06,0.0073 -14.7,4.224800000000015e-06,0.0067 -14.8,4.012189999999943e-06,0.0068 -15.0,2.7367150000000095e-06,0.0059 -15.1,1.6186900000000057e-06,0.0107 -15.2,1.0872900000000037e-06,0.0129 -15.4,1.5264649999999917e-07,0.0239 -15.5,0.0,0.0 -15.6,0.0,0.0 -15.7,0.0,0.0 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos3 Photon flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos3 Photon flux.csv deleted file mode 100644 index 89559b67..00000000 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos3 Photon flux.csv +++ /dev/null @@ -1,139 +0,0 @@ -Energy,Value,Error -0.413,1.2165496370984381e-05,0.0046 -0.433,1.5675049999999988e-05,0.0065 -0.453,1.5068599999999986e-05,0.0052 -0.473,1.555360000000003e-05,0.0152 -0.495,1.5292999999999987e-05,0.0054 -0.517,0.00010695409090909081,0.0072 -0.538,1.2527619047619036e-05,0.0056 -0.562,1.1692874999999991e-05,0.0079 -0.585,1.1179434782608739e-05,0.0063 -0.609,1.2009791666666656e-05,0.007 -0.632,1.1595217391304338e-05,0.0101 -0.657,1.026195999999999e-05,0.0082 -0.683,1.1336923076923066e-05,0.0782 -0.709,9.924576923076957e-06,0.0136 -0.735,1.1469653846153837e-05,0.0127 -0.761,1.1660769230769221e-05,0.0194 -0.789,1.1149678571428563e-05,0.0113 -0.817,1.4008928571428613e-05,0.0231 -0.874,1.1590052631578938e-05,0.0087 -0.903,1.4538448275862057e-05,0.0065 -0.933,1.5148733333333321e-05,0.0259 -0.964,1.0510419354838738e-05,0.0071 -0.993,9.297103448275854e-06,0.0075 -1.03,1.0863945945945935e-05,0.0074 -1.06,9.97799999999999e-06,0.0087 -1.09,9.391499999999991e-06,0.0153 -1.12,9.743499999999992e-06,0.0106 -1.16,9.588600000000046e-06,0.0063 -1.19,8.993399999999993e-06,0.026 -1.23,8.610049999999992e-06,0.0167 -1.26,8.698033333333325e-06,0.0203 -1.3,8.782099999999992e-06,0.0161 -1.34,9.128474999999992e-06,0.0205 -1.37,8.50086666666666e-06,0.0173 -1.41,8.52412500000004e-06,0.0099 -1.45,8.854074999999992e-06,0.0144 -1.49,8.415949999999994e-06,0.0126 -1.53,8.251499999999992e-06,0.012 -1.57,7.962924999999993e-06,0.0076 -1.61,8.505474999999992e-06,0.0349 -1.65,7.963950000000037e-06,0.0071 -1.69,8.264624999999994e-06,0.032 -1.73,8.182449999999993e-06,0.0073 -1.78,8.215259999999993e-06,0.021 -1.82,7.982824999999992e-06,0.0087 -1.86,7.805624999999994e-06,0.0076 -1.91,7.869120000000029e-06,0.0158 -1.96,7.878719999999993e-06,0.0319 -2.0,7.689299999999993e-06,0.0311 -2.05,8.826360000000032e-06,0.1059 -2.1,7.241579999999962e-06,0.0242 -2.14,6.974049999999994e-06,0.0079 -2.19,6.788740000000024e-06,0.0069 -2.24,9.020719999999952e-06,0.0046 -2.29,6.5550200000000225e-06,0.0063 -2.34,6.480220000000023e-06,0.008 -2.4,6.228383333333328e-06,0.008 -2.45,6.057739999999968e-06,0.0069 -2.5,5.957540000000021e-06,0.0066 -2.56,5.883399999999995e-06,0.0119 -2.61,5.63752000000002e-06,0.0078 -2.66,5.817079999999969e-06,0.0499 -2.72,5.460566666666661e-06,0.0139 -2.78,5.099250000000033e-06,0.0065 -2.83,4.981099999999973e-06,0.007 -2.89,4.979116666666663e-06,0.0205 -2.95,4.705166666666663e-06,0.0103 -3.01,4.5208666666666964e-06,0.0071 -3.07,4.44963333333333e-06,0.0083 -3.13,4.281399999999997e-06,0.0113 -3.19,4.04263333333333e-06,0.0071 -3.25,3.879449999999996e-06,0.0069 -3.32,4.00600000000001e-06,0.0522 -3.38,3.7122499999999965e-06,0.0192 -3.45,3.416257142857129e-06,0.0071 -3.51,3.893183333333358e-06,0.1713 -3.58,3.3299857142857008e-06,0.0447 -3.65,2.9219714285714354e-06,0.0091 -3.71,2.8212666666666645e-06,0.008 -3.78,2.651114285714292e-06,0.0083 -3.85,2.5410999999999895e-06,0.0218 -3.92,2.3557142857142912e-06,0.0096 -3.99,2.2096285714285626e-06,0.0094 -4.06,2.103614285714304e-06,0.0101 -4.14,1.960187499999998e-06,0.0101 -4.21,1.795628571428564e-06,0.0088 -4.29,1.6813999999999986e-06,0.011 -4.36,1.7630857142857071e-06,0.0085 -4.44,2.128387499999998e-06,0.0071 -4.51,1.4945285714285843e-06,0.0096 -4.59,1.3130624999999988e-06,0.0195 -4.67,1.9038874999999982e-06,0.0069 -4.75,1.3852499999999987e-06,0.013 -4.83,8.089099999999992e-07,0.0132 -4.91,7.491924999999993e-07,0.0139 -5.0,6.516288888888899e-07,0.0216 -5.08,5.557487499999994e-07,0.0188 -5.17,5.289477777777786e-07,0.015 -5.25,4.4881999999999965e-07,0.0161 -5.34,1.1520111111111128e-06,0.0102 -5.43,3.2050444444444493e-07,0.0193 -5.51,4.972999999999996e-07,0.0212 -5.6,1.9724777777777808e-07,0.029 -5.69,2.9366999999999757e-07,0.0186 -5.79,4.3050300000000156e-07,0.0139 -5.88,3.0232777777777823e-07,0.0278 -5.97,9.378877777777792e-08,0.0694 -6.07,3.1832099999999834e-07,0.0152 -6.16,3.2562222222222273e-07,0.0156 -6.26,1.773450000000006e-07,0.024 -6.36,1.2605599999999934e-07,0.0252 -6.46,1.2065300000000044e-07,0.026 -6.55,1.248388888888891e-07,0.0257 -6.66,3.007127272727264e-08,0.0459 -6.76,1.8891700000000068e-08,0.0886 -6.86,4.1196899999999784e-08,0.0392 -6.97,7.279063636363674e-09,0.0998 -7.07,8.149439999999957e-09,0.1248 -7.18,1.2416090909090972e-08,0.1954 -7.28,4.2290299999999775e-08,0.0515 -7.39,2.0357272727272834e-07,0.0179 -7.5,8.95555454545452e-08,0.0252 -7.62,5.1356999999999955e-08,0.0346 -7.73,2.1808181818181755e-08,0.0668 -7.84,3.476181818181836e-08,0.0373 -7.96,2.1196833333333313e-08,0.0831 -8.07,8.628699999999975e-09,0.1158 -8.19,1.310133333333342e-08,0.0504 -8.31,4.484349999999963e-09,0.1534 -8.43,3.6106916666666903e-09,0.1663 -8.55,5.3442166666666224e-08,0.035 -8.67,2.844108333333352e-08,0.1587 -8.79,1.2211666666666746e-08,0.0814 -8.92,7.209238461538418e-09,0.092 -9.04,1.128591666666674e-07,0.0234 -9.17,4.9745461538461245e-08,0.0469 -9.3,7.0371999999999575e-09,0.1058 -9.43,3.5827846153846426e-09,0.1411 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos4 Neutron flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos4 Neutron flux.csv deleted file mode 100644 index 3a46d98c..00000000 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos4 Neutron flux.csv +++ /dev/null @@ -1,144 +0,0 @@ -Energy,Value,Error -1.11,5.309522523000857e-05,0.0007 -1.18,7.997285714285732e-07,0.0077 -1.25,6.690914285714279e-07,0.0085 -1.32,5.577157142857139e-07,0.0093 -1.39,4.682142857142868e-07,0.0101 -1.47,3.8911249999999967e-07,0.0104 -1.54,3.3950714285714256e-07,0.0119 -1.62,2.9296749999999973e-07,0.0121 -1.69,2.6115428571428627e-07,0.0138 -1.77,2.273799999999998e-07,0.0136 -1.85,2.0554749999999984e-07,0.0147 -1.92,1.838057142857147e-07,0.0166 -2.0,1.6469249999999986e-07,0.0164 -2.08,1.4981624999999987e-07,0.0169 -2.16,1.401787499999999e-07,0.0179 -2.24,1.278724999999999e-07,0.0187 -2.32,1.1901062500000055e-07,0.0198 -2.4,1.1184474999999991e-07,0.0206 -2.48,1.0101049999999991e-07,0.0213 -2.56,9.347537499999993e-08,0.0219 -2.64,8.664237499999993e-08,0.0236 -2.72,8.403662499999992e-08,0.024 -2.81,7.37617777777779e-08,0.0234 -2.89,7.258124999999993e-08,0.0251 -2.97,6.369787499999995e-08,0.0265 -3.06,6.377722222222232e-08,0.0266 -3.14,6.091562499999995e-08,0.0288 -3.23,5.4769222222222313e-08,0.0284 -3.31,5.1052999999999954e-08,0.0298 -3.4,4.760877777777785e-08,0.0294 -3.49,4.4619222222222074e-08,0.0302 -3.58,4.1962666666666734e-08,0.0318 -3.66,3.916024999999996e-08,0.0341 -3.75,3.781211111111117e-08,0.0342 -3.84,3.695377777777784e-08,0.0352 -3.93,3.469733333333322e-08,0.0369 -4.02,3.571977777777801e-08,0.0378 -4.11,3.1874999999999735e-08,0.0375 -4.2,3.121733333333338e-08,0.0376 -4.29,2.9179777777777825e-08,0.0382 -4.38,2.6695333333333377e-08,0.0421 -4.47,2.6800111111111152e-08,0.0417 -4.57,2.607689999999986e-08,0.042 -4.66,2.5286444444444485e-08,0.0448 -4.75,2.2989111111111146e-08,0.0479 -4.85,2.1722100000000076e-08,0.0448 -4.94,2.202455555555537e-08,0.0479 -5.03,1.8927222222222253e-08,0.0483 -5.13,1.974370000000007e-08,0.048 -5.22,2.210522222222226e-08,0.0502 -5.32,1.84119999999999e-08,0.049 -5.42,1.7751000000000064e-08,0.051 -5.51,1.777522222222225e-08,0.056 -5.61,1.84201999999999e-08,0.0516 -5.71,1.7192500000000063e-08,0.0501 -5.81,1.6189200000000057e-08,0.0523 -5.9,1.740733333333319e-08,0.057 -6.0,1.5520900000000055e-08,0.0529 -6.1,1.5951400000000056e-08,0.054 -6.2,1.5781899999999914e-08,0.0576 -6.3,1.4710600000000053e-08,0.0612 -6.4,1.4096099999999925e-08,0.0602 -6.5,1.5987700000000057e-08,0.0578 -6.6,1.3331500000000049e-08,0.0604 -6.7,1.3658899999999927e-08,0.0614 -6.81,1.4587636363636438e-08,0.0554 -6.91,1.505929999999992e-08,0.0651 -7.01,1.4627600000000052e-08,0.0566 -7.11,1.312589999999993e-08,0.0604 -7.22,1.3645454545454617e-08,0.0596 -7.32,1.3986899999999927e-08,0.0631 -7.42,1.3859000000000048e-08,0.0598 -7.53,1.4786363636363592e-08,0.0621 -7.63,1.3296700000000048e-08,0.0644 -7.74,1.2552909090909054e-08,0.0595 -7.84,1.2283800000000045e-08,0.0627 -7.95,1.2872909090909053e-08,0.0633 -8.06,1.26973636363636e-08,0.062 -8.16,1.1825200000000042e-08,0.0641 -8.27,1.2327909090909155e-08,0.0675 -8.38,1.2503818181818045e-08,0.0633 -8.49,1.4078454545454618e-08,0.0644 -8.59,1.3624100000000049e-08,0.0643 -8.7,1.210427272727279e-08,0.0619 -8.81,1.3577363636363487e-08,0.0591 -8.92,1.2957181818181885e-08,0.0607 -9.03,1.1490545454545515e-08,0.0669 -9.14,1.3044272727272585e-08,0.0589 -9.25,1.238645454545461e-08,0.0596 -9.36,1.3248181818181885e-08,0.0589 -9.47,1.3364727272727127e-08,0.0599 -9.59,1.6274416666666775e-08,0.0626 -9.7,1.3201454545454615e-08,0.058 -9.81,1.544690909090892e-08,0.0575 -9.92,1.4786090909090986e-08,0.0565 -10.0,1.5474624999999988e-08,0.0694 -10.1,1.5973100000000055e-08,0.0633 -10.3,1.513149999999992e-08,0.0475 -10.4,1.4478600000000051e-08,0.0667 -10.5,1.3550900000000048e-08,0.0584 -10.6,1.2970900000000045e-08,0.064 -10.7,1.3836300000000048e-08,0.0662 -10.8,1.7823299999999745e-08,0.2114 -11.0,1.3625050000000049e-08,0.0675 -11.1,1.2769300000000046e-08,0.0654 -11.2,1.2210200000000044e-08,0.0672 -11.3,1.2349499999999824e-08,0.0626 -11.4,1.2885600000000045e-08,0.0687 -11.5,1.3289000000000047e-08,0.0651 -11.7,1.3375250000000049e-08,0.0488 -11.8,1.1477999999999836e-08,0.0682 -11.9,1.2755800000000046e-08,0.0708 -12.0,1.2359300000000044e-08,0.0658 -12.1,1.1540100000000041e-08,0.0675 -12.2,1.3494400000000048e-08,0.0734 -12.4,1.3967949999999926e-08,0.0479 -12.5,1.4206700000000051e-08,0.0652 -12.6,1.2943100000000047e-08,0.0617 -12.7,1.5989300000000058e-08,0.0612 -12.9,1.5371749999999917e-08,0.0451 -13.0,1.4757100000000053e-08,0.0639 -13.1,1.396870000000005e-08,0.0654 -13.2,1.5399800000000054e-08,0.0634 -13.3,1.5006199999999785e-08,0.0637 -13.5,1.430260000000005e-08,0.0465 -13.6,1.5731900000000056e-08,0.0612 -13.7,1.7045700000000062e-08,0.0586 -13.8,2.1441799999999696e-08,0.0536 -14.0,2.537005000000009e-08,0.0359 -14.1,4.187590000000015e-08,0.0415 -14.2,6.652300000000024e-08,0.0327 -14.3,1.1203599999999841e-07,0.0255 -14.5,2.4559600000000087e-07,0.0126 -14.6,3.886180000000014e-07,0.0136 -14.7,4.2736900000000156e-07,0.0128 -14.8,3.8793799999999446e-07,0.0132 -15.0,2.554875000000009e-07,0.0116 -15.1,1.4643300000000053e-07,0.0209 -15.2,9.194580000000033e-08,0.0275 -15.4,1.0400199999999945e-08,0.0524 -15.5,0.0,0.0 -15.6,0.0,0.0 -15.7,0.0,0.0 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos4 Photon flux.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos4 Photon flux.csv deleted file mode 100644 index a91e9113..00000000 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/TUD-W_pos4 Photon flux.csv +++ /dev/null @@ -1,139 +0,0 @@ -Energy,Value,Error -0.413,3.045399516475884e-06,0.0013 -0.433,3.959684999999997e-06,0.0036 -0.453,3.8238499999999964e-06,0.0037 -0.473,3.858305000000007e-06,0.0037 -0.495,3.846645454545452e-06,0.0037 -0.517,2.7869590909090885e-05,0.0016 -0.538,3.1735285714285688e-06,0.0042 -0.562,2.937637499999997e-06,0.0044 -0.585,2.8192304347826196e-06,0.0044 -0.609,3.044074999999997e-06,0.0042 -0.632,2.789056521739128e-06,0.0045 -0.657,2.549719999999998e-06,0.0048 -0.683,2.6080884615384593e-06,0.0046 -0.709,2.410719230769239e-06,0.006 -0.735,2.8518230769230747e-06,0.0045 -0.761,2.769534615384613e-06,0.0045 -0.789,2.771621428571426e-06,0.0044 -0.817,3.4786500000000107e-06,0.004 -0.874,2.923789473684208e-06,0.0034 -0.903,3.6532413793103417e-06,0.0039 -0.933,3.7549333333333303e-06,0.0038 -0.964,2.6583516129032332e-06,0.0046 -0.993,2.3455310344827566e-06,0.0053 -1.03,2.7587027027027004e-06,0.0046 -1.06,2.506049999999998e-06,0.0049 -1.09,2.355803333333331e-06,0.0051 -1.12,2.426349999999998e-06,0.005 -1.16,2.4341525000000114e-06,0.0047 -1.19,2.2040599999999983e-06,0.006 -1.23,2.115784999999998e-06,0.005 -1.26,2.120836666666665e-06,0.0061 -1.3,2.188292499999998e-06,0.0083 -1.34,2.2416624999999983e-06,0.0049 -1.37,2.1307433333333313e-06,0.0057 -1.41,2.15675250000001e-06,0.0051 -1.45,2.205984999999998e-06,0.005 -1.49,2.1115349999999982e-06,0.0052 -1.53,2.0823924999999984e-06,0.0052 -1.57,2.0251449999999984e-06,0.0054 -1.61,2.0784774999999985e-06,0.0054 -1.65,2.0220175000000096e-06,0.0055 -1.69,2.0525324999999983e-06,0.0056 -1.73,2.115832499999998e-06,0.0084 -1.78,2.095599999999998e-06,0.0049 -1.82,2.0474649999999983e-06,0.0053 -1.86,2.0071949999999984e-06,0.0055 -1.91,1.998110000000007e-06,0.005 -1.96,1.979831999999998e-06,0.005 -2.0,1.936739999999998e-06,0.0061 -2.05,1.8816940000000065e-06,0.0054 -2.1,1.86312399999999e-06,0.0052 -2.14,1.8725599999999983e-06,0.0191 -2.19,1.8039540000000064e-06,0.0055 -2.24,2.419619999999987e-06,0.0041 -2.29,1.7139160000000062e-06,0.0054 -2.34,1.676420000000006e-06,0.0064 -2.4,1.6327299999999986e-06,0.0052 -2.45,1.6040139999999915e-06,0.0059 -2.5,1.5479660000000057e-06,0.0069 -2.56,1.538698333333332e-06,0.0053 -2.61,1.482592000000005e-06,0.0062 -2.66,1.4593239999999923e-06,0.0059 -2.72,1.396159999999999e-06,0.0055 -2.78,1.3541950000000089e-06,0.0057 -2.83,1.323741999999993e-06,0.0064 -2.89,1.2884933333333321e-06,0.006 -2.95,1.2600566666666655e-06,0.0061 -3.01,1.210660000000008e-06,0.0062 -3.07,1.163009999999999e-06,0.0061 -3.13,1.1226533333333323e-06,0.0063 -3.19,1.0862666666666656e-06,0.0063 -3.25,1.043364999999999e-06,0.0068 -3.32,1.0143628571428595e-06,0.0063 -3.38,9.435333333333325e-07,0.0081 -3.45,9.203471428571391e-07,0.0068 -3.51,8.857066666666725e-07,0.0071 -3.58,8.385428571428537e-07,0.0073 -3.65,7.992042857142875e-07,0.0071 -3.71,7.606733333333327e-07,0.0078 -3.78,7.164871428571445e-07,0.0072 -3.85,6.70774285714283e-07,0.0084 -3.92,6.321257142857157e-07,0.0079 -3.99,5.948957142857119e-07,0.0078 -4.06,5.679271428571478e-07,0.0092 -4.14,5.169837499999995e-07,0.0079 -4.21,4.817128571428552e-07,0.0094 -4.29,4.499287499999996e-07,0.0087 -4.36,4.772071428571409e-07,0.0085 -4.44,4.921837499999995e-07,0.0074 -4.51,4.0963428571428925e-07,0.0092 -4.59,3.5343124999999967e-07,0.0092 -4.67,5.332237499999995e-07,0.007 -4.75,3.8357124999999965e-07,0.009 -4.83,2.124074999999998e-07,0.0129 -4.91,1.9457124999999982e-07,0.0131 -5.0,1.6968000000000026e-07,0.014 -5.08,1.4936749999999987e-07,0.0162 -5.17,1.418066666666669e-07,0.0143 -5.25,1.240423749999999e-07,0.018 -5.34,3.143277777777783e-07,0.0084 -5.43,8.44886666666668e-08,0.0195 -5.51,1.303674999999999e-07,0.0138 -5.6,4.915788888888897e-08,0.0256 -5.69,8.107055555555489e-08,0.0193 -5.79,1.2070000000000044e-07,0.0139 -5.88,8.191788888888901e-08,0.0189 -5.97,2.2132333333333368e-08,0.0359 -6.07,8.650859999999953e-08,0.0157 -6.16,8.790055555555569e-08,0.0155 -6.26,5.047500000000018e-08,0.024 -6.36,3.69652999999998e-08,0.0266 -6.46,3.1740300000000114e-08,0.0262 -6.55,3.3027555555555606e-08,0.0275 -6.66,9.170454545454519e-09,0.0675 -6.76,5.0753100000000185e-09,0.1146 -6.86,1.0162999999999947e-08,0.0368 -6.97,1.825554545454555e-09,0.1197 -7.07,1.310859999999993e-09,0.1345 -7.18,2.6167000000000135e-09,0.1787 -7.28,1.1063299999999941e-08,0.0433 -7.39,5.6927909090909385e-08,0.017 -7.5,2.6309363636363562e-08,0.0264 -7.62,1.5095416666666652e-08,0.0432 -7.73,6.410709090909073e-09,0.0626 -7.84,8.678009090909136e-09,0.0388 -7.96,4.751249999999996e-09,0.0736 -8.07,1.2414727272727237e-09,0.1306 -8.19,3.762408333333358e-09,0.0625 -8.31,1.5286833333333206e-09,0.1194 -8.43,6.10577500000004e-10,0.1517 -8.55,1.4225333333333215e-08,0.0287 -8.67,6.990041666666712e-09,0.0639 -8.79,3.4198583333333555e-09,0.0801 -8.92,1.65449999999999e-09,0.1336 -9.04,3.059516666666687e-08,0.0197 -9.17,1.2635461538461462e-08,0.0501 -9.3,1.8617846153846042e-09,0.1606 -9.43,4.2692692307692636e-10,0.1548 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/metadata.json b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/metadata.json deleted file mode 100644 index 2344a599..00000000 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.2c_/TUD-W/metadata.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "benchmark_name": "TUD-W", - "benchmark_version": "1.0", - "jade_run_version": "3.1.0", - "library": "FENDL 3.2c", - "code": "mcnp", - "jade_version": "3.1.0", - "code_version": null -} \ No newline at end of file diff --git a/tests/post/test_excel_processor.py b/tests/post/test_excel_processor.py index a16de1fe..c8ea61ce 100644 --- a/tests/post/test_excel_processor.py +++ b/tests/post/test_excel_processor.py @@ -138,17 +138,13 @@ def test_tud_w(self, tmpdir): files(default_cfg).joinpath("benchmarks_pp/excel/TUD-W.yaml") ) as file: cfg = ConfigExcelProcessor.from_yaml(file) - codelibs = [("exp", "exp"), ("mcnp", "FENDL 3.1d"), ("openmc", "FENDL 3.1d")] + codelibs = [("exp", "exp"), ("mcnp", "FENDL 3.1d")] processor = ExcelProcessor(ROOT_RAW, tmpdir, cfg, codelibs) processor.process() file = Path(tmpdir, "TUD-W_exp-exp_Vs_mcnp-FENDL 3.1d.xlsx") assert file.exists() df = pd.read_excel(file, skiprows=3) assert len(df) == 144 - file = Path(tmpdir, "TUD-W_exp-exp_Vs_openmc-FENDL 3.1d.xlsx") - assert file.exists() - df = pd.read_excel(file, skiprows=3) - assert len(df) == 144 def test_Simple_Tokamak(self, tmpdir): with as_file( From fc690ea7bc3b8111cb8183392286550b026d90f4 Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Fri, 5 Dec 2025 10:11:04 +0100 Subject: [PATCH 03/17] update run cfg default file --- src/jade/post/plotter.py | 2 +- src/jade/resources/default_cfg/run_cfg.yml | 124 ++++++++++++++++----- 2 files changed, 96 insertions(+), 30 deletions(-) diff --git a/src/jade/post/plotter.py b/src/jade/post/plotter.py index 58c1a023..24e5d7da 100644 --- a/src/jade/post/plotter.py +++ b/src/jade/post/plotter.py @@ -627,7 +627,7 @@ def _get_figure(self) -> tuple[Figure, list[Axes]]: dfv.index, dfv.values, yerr=dfe.values, - fmt="none", + # fmt="none", ecolor=COLORS[idx], # elinewidth=0.5, # capsize=2, diff --git a/src/jade/resources/default_cfg/run_cfg.yml b/src/jade/resources/default_cfg/run_cfg.yml index 3251f62b..ea16c1e2 100644 --- a/src/jade/resources/default_cfg/run_cfg.yml +++ b/src/jade/resources/default_cfg/run_cfg.yml @@ -87,18 +87,29 @@ Simple_Tokamak: nps: 1e9 only_input: false # --- Experimental benchmarks --- -Oktavian: +ASPIS-PCA-Replica: codes: d1s: [] mcnp: [] openmc: [] serpent: [] custom_input: - nps: 5e7 - description: Oktavian Experiment + nps: 1e8 + description: Winfrith Water/Iron Benchmark Experiment only_input: false # -FNG: +ASPIS-Fe88: + codes: + d1s: [] + mcnp: [] + openmc: [] + serpent: [] + custom_input: + nps: 1e8 + description: ASPIS Iron-88 benchmark + only_input: false +# -- FNG experiments -- +FNG-SDDR: codes: d1s: [] mcnp: [] @@ -109,7 +120,18 @@ FNG: description: Frascati Neutron Generator SDDR experiment only_input: false # -Tiara-BC: +FNG-BKT: + codes: + d1s: [] + mcnp: [] + openmc: [] + serpent: [] + custom_input: + nps: 1e9 + description: FNG Bulk Blanket and Shielding Experiment + only_input: false +# +FNG-W: codes: d1s: [] mcnp: [] @@ -117,10 +139,10 @@ Tiara-BC: serpent: [] custom_input: nps: 1e8 - description: Tiara BC scintillator detector + description: FNG Tungsten only_input: false # -Tiara-BS: +FNG-SiC: codes: d1s: [] mcnp: [] @@ -128,10 +150,10 @@ Tiara-BS: serpent: [] custom_input: nps: 1e8 - description: Tiara Bonner Sphere detector + description: FNG Silicon Carbide only_input: false # -Tiara-FC: +FNG-SS: codes: d1s: [] mcnp: [] @@ -139,9 +161,20 @@ Tiara-FC: serpent: [] custom_input: nps: 1e8 - description: Tiara Fission Chambers detector + description: FNG Stainless Steel only_input: false # +FNG-HCPB: + codes: + d1s: [] + mcnp: [] + openmc: [] + serpent: [] + custom_input: + nps: 1e8 + description: FNG Helium Cooled Pebble Bed Tritium Breeder + only_input: false +# -- FNS experiments -- FNS-TOF: codes: d1s: [] @@ -152,19 +185,19 @@ FNS-TOF: nps: 1e8 description: FNS Time-of-Flight Experiment only_input: false -# -FNG-BKT: +# -- IPPE experiments -- +IPPE-DT: codes: d1s: [] mcnp: [] openmc: [] serpent: [] custom_input: - nps: 1e9 - description: FNG Bulk Blanket and Shielding Experiment + nps: 1e8 + description: IPPE DT Iron Sphere Experiment only_input: false # -FNG-W: +IPPE-CF: codes: d1s: [] mcnp: [] @@ -172,10 +205,10 @@ FNG-W: serpent: [] custom_input: nps: 1e8 - description: FNG Tungsten + description: IPPE 252Cf experiment only_input: false -# -ASPIS-Fe88: +# -- Oktavian experiments -- +Oktavian: codes: d1s: [] mcnp: [] @@ -183,10 +216,21 @@ ASPIS-Fe88: serpent: [] custom_input: nps: 1e8 - description: ASPIS Iron-88 benchmark + description: Oktavian Experiment + only_input: false +# -- RCR experiments -- +RCR-Fe+Ni: + codes: + d1s: [] + mcnp: [] + openmc: [] + serpent: [] + custom_input: + nps: 1e8 + description: RCR Iron/Nickel Sphere Experiment only_input: false # -TUD-Fe: +RCR-SS: codes: d1s: [] mcnp: [] @@ -194,10 +238,21 @@ TUD-Fe: serpent: [] custom_input: nps: 1e8 - description: Iron Slab Experiment (TUD) + description: RCR Stainless Steel Block Experiment + only_input: false +# -- Tiara experiments -- +Tiara-BC: + codes: + d1s: [] + mcnp: [] + openmc: [] + serpent: [] + custom_input: + nps: 1e8 + description: Tiara BC scintillator detector only_input: false # -TUD-FNG: +Tiara-BS: codes: d1s: [] mcnp: [] @@ -205,10 +260,10 @@ TUD-FNG: serpent: [] custom_input: nps: 1e8 - description: TUD Spectra Measurements (FNG Bulk Shield) + description: Tiara Bonner Sphere detector only_input: false # -TUD-W: +Tiara-FC: codes: d1s: [] mcnp: [] @@ -216,10 +271,21 @@ TUD-W: serpent: [] custom_input: nps: 1e8 - description: FNG/TUD Tungsten Experiment + description: Tiara Fission Chambers detector + only_input: false +# -- TUD experiments -- +TUD-Fe: + codes: + d1s: [] + mcnp: [] + openmc: [] + serpent: [] + custom_input: + nps: 1e8 + description: Iron Slab Experiment (TUD) only_input: false # -IPPE-DT: +TUD-FNG: codes: d1s: [] mcnp: [] @@ -227,10 +293,10 @@ IPPE-DT: serpent: [] custom_input: nps: 1e8 - description: IPPE DT Iron Sphere Experiment + description: TUD Spectra Measurements (FNG Bulk Shield) only_input: false # -IPPE-CF: +TUD-W: codes: d1s: [] mcnp: [] @@ -238,5 +304,5 @@ IPPE-CF: serpent: [] custom_input: nps: 1e8 - description: IPPE 252Cf experiment + description: FNG/TUD Tungsten Experiment only_input: false \ No newline at end of file From b5bc733c373de6223655c83ec318f54a58c7e170 Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Fri, 5 Dec 2025 10:14:57 +0100 Subject: [PATCH 04/17] add check for run_cfg file --- .github/PULL_REQUEST_TEMPLATE/new_benchmark.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md b/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md index ae271ed7..9ec8e1d3 100644 --- a/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md +++ b/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md @@ -24,8 +24,9 @@ Please select the transport code for which the benchmark is added. ## Checklist: -- [ ] I have added the required YAML files. +- [ ] I have added the required YAML files for post-processing. - [ ] I have updated the documentation to include the benchmark description. - [ ] I have updated the documentation summary table which gives an overview of the implemented benchmark. -- [ ] Have the benchmark inputs been added to the appropriate respository. +- [ ] The benchmark is available in the default ``run_cfg.yaml`` file +- [ ] The benchmark inputs have been added to the appropriate respository. - [ ] My changes generate no new warnings. \ No newline at end of file From 7131599fc4cde7740e1ceedea9c1b0be1a1ac3b6 Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Fri, 5 Dec 2025 10:47:27 +0100 Subject: [PATCH 05/17] avoid annoying warning --- src/jade/post/plotter.py | 57 +++++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 24 deletions(-) diff --git a/src/jade/post/plotter.py b/src/jade/post/plotter.py index 24e5d7da..630ab633 100644 --- a/src/jade/post/plotter.py +++ b/src/jade/post/plotter.py @@ -3,8 +3,10 @@ import math from abc import ABC, abstractmethod +import warnings import matplotlib.pyplot as plt import numpy as np + import pandas as pd import seaborn as sns from f4enix.input.libmanager import LibManager @@ -19,6 +21,7 @@ from jade.config.atlas_config import PlotConfig, PlotType from jade.post.manipulate_tally import compare_data, ComparisonType + matplotlib.use("Agg") # use a non-interactive backend LM = LibManager() # Color-blind saver palette @@ -613,15 +616,17 @@ def _get_figure(self) -> tuple[Figure, list[Axes]]: label, ) else: - axes[i].scatter( - dfv.index, - dfv.values, - label=label, - color=COLORS[idx], - marker=MARKERS[idx], - # the marker should be not filled - facecolors="none", - ) + with warnings.catch_warnings(): + warnings.simplefilter("ignore", category=UserWarning) + axes[i].scatter( + dfv.index, + dfv.values, + label=label, + color=COLORS[idx], + marker=MARKERS[idx], + # the marker should be not filled + facecolors="none", + ) # add error bars axes[i].errorbar( dfv.index, @@ -1019,21 +1024,25 @@ def _apply_CE_limits( alpha=0, ) - # normal points - ax.scatter( - norm[0], - norm[1], - label=label, - color=COLORS[idx], - marker=MARKERS[idx], - # the marker should be not filled - facecolors="none", - ) - # upper and lower limits - ax.scatter(upper[0], upper[1], marker=CARETUPBASE, c=COLORS[idx], facecolors="none") - ax.scatter( - lower[0], lower[1], marker=CARETDOWNBASE, c=COLORS[idx], facecolors="none" - ) + with warnings.catch_warnings(): + warnings.simplefilter("ignore", category=UserWarning) + # normal points + ax.scatter( + norm[0], + norm[1], + label=label, + color=COLORS[idx], + marker=MARKERS[idx], + # the marker should be not filled + facecolors="none", + ) + # upper and lower limits + ax.scatter( + upper[0], upper[1], marker=CARETUPBASE, c=COLORS[idx], facecolors="none" + ) + ax.scatter( + lower[0], lower[1], marker=CARETDOWNBASE, c=COLORS[idx], facecolors="none" + ) # additional legend leg = [ Line2D( From fb4262c0108ab9e6510b4eaf8e4f273546b99743 Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Fri, 5 Dec 2025 10:56:35 +0100 Subject: [PATCH 06/17] make the new PR template appear --- .github/PULL_REQUEST_TEMPLATE/bug_fix_template.md | 9 +++++++++ .github/PULL_REQUEST_TEMPLATE/new_benchmark.md | 9 +++++++++ .github/PULL_REQUEST_TEMPLATE/new_feature_template.md | 9 +++++++++ 3 files changed, 27 insertions(+) diff --git a/.github/PULL_REQUEST_TEMPLATE/bug_fix_template.md b/.github/PULL_REQUEST_TEMPLATE/bug_fix_template.md index 04f0888d..5fa58a35 100644 --- a/.github/PULL_REQUEST_TEMPLATE/bug_fix_template.md +++ b/.github/PULL_REQUEST_TEMPLATE/bug_fix_template.md @@ -1,3 +1,12 @@ +--- +name: Bug fix +about: Fix a bug +title: "[Bug fix] - XXX" +labels: bug +assignees: '' + +--- + # Bug Fix Template ## Description diff --git a/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md b/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md index 9ec8e1d3..bc26fbfd 100644 --- a/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md +++ b/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md @@ -1,3 +1,12 @@ +--- +name: New benchmark +about: Add a new benchmark to JADE +title: "[New benchmark] - XXX" +labels: new benchmark +assignees: '' + +--- + # New Benchmark Template ## Description diff --git a/.github/PULL_REQUEST_TEMPLATE/new_feature_template.md b/.github/PULL_REQUEST_TEMPLATE/new_feature_template.md index 061ee54d..5ed91d89 100644 --- a/.github/PULL_REQUEST_TEMPLATE/new_feature_template.md +++ b/.github/PULL_REQUEST_TEMPLATE/new_feature_template.md @@ -1,3 +1,12 @@ +--- +name: New feature +about: Add a new feature +title: "[New feature] - XXX" +labels: new feature +assignees: '' + +--- + # New Feature Template ## Description From fb6bc454d51101870758612caf1fdb48068cdee6 Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Fri, 5 Dec 2025 13:04:51 +0100 Subject: [PATCH 07/17] fix missing values in exp data --- JADE-RAW-RESULTS | 1 + src/jade/post/plotter.py | 11 +++++++++++ .../_exp_-_exp_/FNG-BKT/FNG-BKT_Al Reaction rate.csv | 3 +++ .../_exp_-_exp_/FNG-BKT/FNG-BKT_Fe Reaction rate.csv | 3 +++ .../_exp_-_exp_/FNG-BKT/FNG-BKT_In Reaction rate.csv | 2 ++ .../_exp_-_exp_/FNG-BKT/FNG-BKT_Mn Reaction rate.csv | 2 ++ .../FNG-BKT/FNG-BKT_Ni-n2n Reaction rate.csv | 11 ++++++++++- .../_exp_-_exp_/FNG-W/FNG-W_In Activation Foils.csv | 3 ++- .../FNG-W/FNG-W_Ni-n2n Activation Foils.csv | 3 ++- 9 files changed, 36 insertions(+), 3 deletions(-) create mode 160000 JADE-RAW-RESULTS diff --git a/JADE-RAW-RESULTS b/JADE-RAW-RESULTS new file mode 160000 index 00000000..be16cfc8 --- /dev/null +++ b/JADE-RAW-RESULTS @@ -0,0 +1 @@ +Subproject commit be16cfc8b9c2cbffc721b48497753fb87c5f652e diff --git a/src/jade/post/plotter.py b/src/jade/post/plotter.py index 630ab633..72136d60 100644 --- a/src/jade/post/plotter.py +++ b/src/jade/post/plotter.py @@ -6,6 +6,7 @@ import warnings import matplotlib.pyplot as plt import numpy as np +import logging import pandas as pd import seaborn as sns @@ -542,6 +543,16 @@ def _get_figure(self) -> tuple[Figure, list[Axes]]: target = df.set_index(self.cfg.x) val2 = target[self.cfg.y] err2 = target["Error"] + # sometimes there are index which are numerical and may have slight + # differences due to rounding. In reality the two must be the same + # in a C/E plot + if not val1.index.equals(val2.index): + # this is a dirty fix, it may miss some edge cases but they + # should be fairly easy to spot from the plots + logging.debug("Indices do not match, substituting with experiment") + val2.index = val1.index + err2.index = err1.index + values, errors = compare_data( val1, val2, err1, err2, comparison_type=ComparisonType.RATIO ) diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Al Reaction rate.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Al Reaction rate.csv index f09302fc..beea5469 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Al Reaction rate.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Al Reaction rate.csv @@ -8,5 +8,8 @@ Cells,Value,Error 46.85,2.94E-08,5 53.8,1.09E-08,6 60.55,3.71E-09,7 +67.4,, 74.4,4.72E-10,10 81.1,2.13E-10,15 +87.75,, +92.15,, diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Fe Reaction rate.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Fe Reaction rate.csv index 3a6efed5..e5fe5d38 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Fe Reaction rate.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Fe Reaction rate.csv @@ -10,3 +10,6 @@ Cells,Value,Error 60.55,3.67E-09,8 67.4,1.30E-09,10.5 74.4,4.50E-10,12 +81.1,, +87.75,, +92.15,, diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_In Reaction rate.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_In Reaction rate.csv index fa99adb3..e93731eb 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_In Reaction rate.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_In Reaction rate.csv @@ -11,3 +11,5 @@ Cells,Value,Error 67.4,1.61E-08,10 74.4,7.00E-09,12 81.1,2.51E-09,15 +87.75,, +92.15,, \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Mn Reaction rate.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Mn Reaction rate.csv index e2342cda..4696a820 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Mn Reaction rate.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Mn Reaction rate.csv @@ -11,3 +11,5 @@ Cells,Value,Error 67.4,3.47E-07,8 74.4,1.27E-07,10 81.1,5.55E-08,12 +87.75,, +92.15,, \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Ni-n2n Reaction rate.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Ni-n2n Reaction rate.csv index c9c724bf..7db01aea 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Ni-n2n Reaction rate.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-BKT/FNG-BKT_Ni-n2n Reaction rate.csv @@ -3,4 +3,13 @@ Cells,Value,Error 10.32,4.15E-06,3.6 17.15,9.73E-07,4 23.95,2.57E-07,4.5 -30.8,8.18E-08,4.5 +30.8,, +41.85,, +46.85,, +53.8,, +60.55,, +67.4,, +74.4,, +81.1,, +87.75,, +92.15,, \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-W/FNG-W_In Activation Foils.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-W/FNG-W_In Activation Foils.csv index 64141fe2..537d863b 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-W/FNG-W_In Activation Foils.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-W/FNG-W_In Activation Foils.csv @@ -1,4 +1,5 @@ Cells,Value,Error 5,1.38E-04,4.6 15,1.50E-05,5.5 -25,1.67E-06,5.7 \ No newline at end of file +25,1.67E-06,5.7 +35,, \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-W/FNG-W_Ni-n2n Activation Foils.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-W/FNG-W_Ni-n2n Activation Foils.csv index a71406a0..dce15555 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-W/FNG-W_Ni-n2n Activation Foils.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/FNG-W/FNG-W_Ni-n2n Activation Foils.csv @@ -1,4 +1,5 @@ Cells,Value,Error 5,1.49E-05,4 15,8.15E-07,4.5 -25,7.19E-08,5.5 \ No newline at end of file +25,7.19E-08,5.5 +35,, \ No newline at end of file From fd98d50c8afc736dae355a84c6bcbc070130cfac Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Fri, 5 Dec 2025 14:38:02 +0100 Subject: [PATCH 08/17] fix ISIS additional value --- .../ISIS-800MeV-C/ISIS-800MeV-C_Ct Reaction rate Ct.csv | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/ISIS-800MeV-C/ISIS-800MeV-C_Ct Reaction rate Ct.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/ISIS-800MeV-C/ISIS-800MeV-C_Ct Reaction rate Ct.csv index b180458b..09002137 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/ISIS-800MeV-C/ISIS-800MeV-C_Ct Reaction rate Ct.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/ISIS-800MeV-C/ISIS-800MeV-C_Ct Reaction rate Ct.csv @@ -4,4 +4,3 @@ 60,2.04E-21,0.0457 80,1.37E-21,0.0629 100,9.07E-22,0.0632 -120,6.00E-22,0.114 From d26856e64bcc9532647a1214cba8e625cfc03117 Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Fri, 5 Dec 2025 14:48:26 +0100 Subject: [PATCH 09/17] no raw results here --- JADE-RAW-RESULTS | 1 - 1 file changed, 1 deletion(-) delete mode 160000 JADE-RAW-RESULTS diff --git a/JADE-RAW-RESULTS b/JADE-RAW-RESULTS deleted file mode 160000 index be16cfc8..00000000 --- a/JADE-RAW-RESULTS +++ /dev/null @@ -1 +0,0 @@ -Subproject commit be16cfc8b9c2cbffc721b48497753fb87c5f652e From d25e9ce12e30e23a263ec5fd3064022499ed87c0 Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Fri, 5 Dec 2025 15:01:44 +0100 Subject: [PATCH 10/17] Change threshold for first bin --- src/jade/resources/default_cfg/benchmarks_pp/atlas/TUD-W.yaml | 2 +- .../resources/default_cfg/benchmarks_pp/raw/mcnp/TUD-W.yaml | 2 +- .../resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml | 2 +- .../_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv | 4 ++-- .../_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv | 4 ++-- .../_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv | 4 ++-- .../_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv | 2 +- .../TUD-W/TUD-W_pos1 Neutron spectra coarse.csv | 2 +- .../TUD-W/TUD-W_pos2 Neutron spectra coarse.csv | 2 +- .../TUD-W/TUD-W_pos3 Neutron spectra coarse.csv | 2 +- .../TUD-W/TUD-W_pos4 Neutron spectra coarse.csv | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/jade/resources/default_cfg/benchmarks_pp/atlas/TUD-W.yaml b/src/jade/resources/default_cfg/benchmarks_pp/atlas/TUD-W.yaml index 25991780..611dec76 100644 --- a/src/jade/resources/default_cfg/benchmarks_pp/atlas/TUD-W.yaml +++ b/src/jade/resources/default_cfg/benchmarks_pp/atlas/TUD-W.yaml @@ -38,7 +38,7 @@ C/E neutron spectra (1-9 MeV): y: Value expand_runs: false plot_args: - subcases: ["Energy", ['1 - 3', '3 - 6', '6 - 9']] + subcases: ["Energy", ['1.15 - 3', '3 - 6', '6 - 9']] style: 'point' ce_limits: [0.5, 1.5] shorten_x_name: 1 diff --git a/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/TUD-W.yaml b/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/TUD-W.yaml index eae3d06f..34884c09 100644 --- a/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/TUD-W.yaml +++ b/src/jade/resources/default_cfg/benchmarks_pp/raw/mcnp/TUD-W.yaml @@ -10,7 +10,7 @@ Neutron spectra coarse: concat_option: no_action 4: - [condense_groups, - {"bins": [1, 3, 6, 9, 12, 20], + {"bins": [1.15, 3, 6, 9, 12, 20], "group_column": "Energy"} ] Photon spectra coarse: diff --git a/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml b/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml index 17782afc..73225666 100644 --- a/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml +++ b/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml @@ -14,7 +14,7 @@ Neutron spectra coarse: concat_option: no_action 1: - [condense_groups, - {"bins": [1, 3, 6, 9, 12, 20], + {"bins": [1.15, 3, 6, 9, 12, 20], "group_column": "Energy"} ] Photon spectra coarse: diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv index 71609bb5..8d43d634 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv @@ -1,6 +1,6 @@ Energy,Value,Error -1 - 3,0.0006670680000000002,0.055272033996955794 +1.15 - 3,0.000208638,0.018188382614282565 3 - 6,4.6949999999999996e-05,0.015499919821917623 6 - 9,2.09261e-05,0.01866518924852081 9 - 12,2.0852299999999997e-05,0.0204480129109435 -12 - 20,0.0004885296,0.02051079104648593 \ No newline at end of file +12 - 20,0.0004885296,0.02051079104648593 diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv index 0407c967..87f04316 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv @@ -1,6 +1,6 @@ Energy,Value,Error -1 - 3,0.00011690450000000003,0.044177550176399266 +1.15 - 3,3.1212500000000007e-05,0.015610135444931816 3 - 6,6.04987e-06,0.012006305410500951 6 - 9,2.02892e-06,0.016828076949438893 9 - 12,2.0465299999999998e-06,0.01638227073735955 -12 - 20,2.746711e-05,0.0166790399872731 +12 - 20,2.746711e-05,0.0166790399872731 \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv index 6778874a..6837b28b 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv @@ -1,6 +1,6 @@ Energy,Value,Error -1 - 3,1.034701e-05,0.0368136720938039 +1.15 - 3,4.08661e-06,0.015476540693511908 3 - 6,7.8203e-07,0.012476298554858956 6 - 9,2.59007e-07,0.014920429387384708 9 - 12,2.54244e-07,0.016211727616254796 -12 - 20,2.3372179999999995e-06,0.016216491144765928 +12 - 20,2.3372179999999995e-06,0.016216491144765928 \ No newline at end of file diff --git a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv index 46bda058..76d550c5 100644 --- a/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv +++ b/tests/dummy_structure/raw_data/_exp_-_exp_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv @@ -1,5 +1,5 @@ Energy,Value,Error -1 - 3,1.479198e-06,0.03972163962673405 +1.15 - 3,5.07948e-07,0.014773409671840668 3 - 6,1.12902e-07,0.012641359971755615 6 - 9,4.0076e-08,0.02048733344316858 9 - 12,3.8229000000000004e-08,0.022290092374674515 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv index 9b4c6b9a..0c6ca7b9 100644 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv @@ -1,5 +1,5 @@ Energy,Value,Error -1 - 3,0.0023981461100000003,0.0004588298814824402 +1.15 - 3,0.00023108611,0.0008291587056604739 3 - 6,6.0632284e-05,0.001986125193873161 6 - 9,2.5692805e-05,0.003055016247164128 9 - 12,2.3638798e-05,0.002950701492333428 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv index 0ad51567..198d2cec 100644 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv @@ -1,5 +1,5 @@ Energy,Value,Error -1 - 3,0.0008566744479999999,0.00048334681187997135 +1.15 - 3,3.1229448e-05,0.001069147533137631 3 - 6,7.154498e-06,0.002425768332428117 6 - 9,3.1168768e-06,0.003980949075700671 9 - 12,3.0564712e-06,0.00413729529443785 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv index a3dd8e52..815f80ce 100644 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv @@ -1,5 +1,5 @@ Energy,Value,Error -1 - 3,0.0002421609303,0.0004931505235607164 +1.15 - 3,3.6499302999999998e-06,0.0017260504049684412 3 - 6,7.742142e-07,0.004053787589770078 6 - 9,3.4437628e-07,0.006637151585414658 9 - 12,3.3025913e-07,0.006947655362101941 diff --git a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv index d405b649..d8675235 100644 --- a/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv +++ b/tests/dummy_structure/raw_data/_mcnp_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv @@ -1,5 +1,5 @@ Energy,Value,Error -1 - 3,5.9262255010000004e-05,0.0008936603122596306 +1.15 - 3,4.3325501e-07,0.002833012851608318 3 - 6,9.063146e-08,0.006815825494129326 6 - 9,4.100501e-08,0.011288721946584849 9 - 12,4.131135e-08,0.023808101185310848 From e595e68b020bbff90f061a3415e604738b1b343e Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Fri, 5 Dec 2025 15:36:44 +0100 Subject: [PATCH 11/17] take on board code rabbit comments --- .github/PULL_REQUEST_TEMPLATE/bug_fix_template.md | 9 --------- .github/PULL_REQUEST_TEMPLATE/new_benchmark.md | 11 +---------- .github/PULL_REQUEST_TEMPLATE/new_feature_template.md | 9 --------- src/jade/post/plotter.py | 2 +- 4 files changed, 2 insertions(+), 29 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE/bug_fix_template.md b/.github/PULL_REQUEST_TEMPLATE/bug_fix_template.md index 5fa58a35..04f0888d 100644 --- a/.github/PULL_REQUEST_TEMPLATE/bug_fix_template.md +++ b/.github/PULL_REQUEST_TEMPLATE/bug_fix_template.md @@ -1,12 +1,3 @@ ---- -name: Bug fix -about: Fix a bug -title: "[Bug fix] - XXX" -labels: bug -assignees: '' - ---- - # Bug Fix Template ## Description diff --git a/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md b/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md index bc26fbfd..40f0b605 100644 --- a/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md +++ b/.github/PULL_REQUEST_TEMPLATE/new_benchmark.md @@ -1,12 +1,3 @@ ---- -name: New benchmark -about: Add a new benchmark to JADE -title: "[New benchmark] - XXX" -labels: new benchmark -assignees: '' - ---- - # New Benchmark Template ## Description @@ -37,5 +28,5 @@ Please select the transport code for which the benchmark is added. - [ ] I have updated the documentation to include the benchmark description. - [ ] I have updated the documentation summary table which gives an overview of the implemented benchmark. - [ ] The benchmark is available in the default ``run_cfg.yaml`` file -- [ ] The benchmark inputs have been added to the appropriate respository. +- [ ] The benchmark inputs have been added to the appropriate repository. - [ ] My changes generate no new warnings. \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE/new_feature_template.md b/.github/PULL_REQUEST_TEMPLATE/new_feature_template.md index 5ed91d89..061ee54d 100644 --- a/.github/PULL_REQUEST_TEMPLATE/new_feature_template.md +++ b/.github/PULL_REQUEST_TEMPLATE/new_feature_template.md @@ -1,12 +1,3 @@ ---- -name: New feature -about: Add a new feature -title: "[New feature] - XXX" -labels: new feature -assignees: '' - ---- - # New Feature Template ## Description diff --git a/src/jade/post/plotter.py b/src/jade/post/plotter.py index 72136d60..04be687f 100644 --- a/src/jade/post/plotter.py +++ b/src/jade/post/plotter.py @@ -642,7 +642,7 @@ def _get_figure(self) -> tuple[Figure, list[Axes]]: axes[i].errorbar( dfv.index, dfv.values, - yerr=dfe.values, + yerr=dfe.values * dfv.values, # fmt="none", ecolor=COLORS[idx], # elinewidth=0.5, From 3ce86f4cbad26ad69be48e845fbc0df75de6c82b Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Fri, 5 Dec 2025 16:05:40 +0100 Subject: [PATCH 12/17] add ISIS 800 MeV --- src/jade/resources/default_cfg/run_cfg.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/jade/resources/default_cfg/run_cfg.yml b/src/jade/resources/default_cfg/run_cfg.yml index b0f3e2d1..9439b443 100644 --- a/src/jade/resources/default_cfg/run_cfg.yml +++ b/src/jade/resources/default_cfg/run_cfg.yml @@ -327,4 +327,15 @@ IPPE-CF: custom_input: nps: 1e8 description: IPPE 252Cf experiment + only_input: false +# +ISIS-800MeV-C: + codes: + d1s: [] + mcnp: [] + openmc: [] + serpent: [] + custom_input: + nps: 1e8 + description: ISIS 800 MeV Proton Experiment only_input: false \ No newline at end of file From 9e144e75507b6fde4b3a285c8c89b3b284ece336 Mon Sep 17 00:00:00 2001 From: DAVIDE LAGHI Date: Tue, 9 Dec 2025 12:38:36 +0100 Subject: [PATCH 13/17] avoid error when openmc not available during post-processing --- src/jade/app/app.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/jade/app/app.py b/src/jade/app/app.py index 11db7e0c..b0f550a3 100644 --- a/src/jade/app/app.py +++ b/src/jade/app/app.py @@ -18,7 +18,7 @@ from jade.config.raw_config import ConfigRawProcessor from jade.config.run_config import RunConfig, RunMode from jade.config.status import GlobalStatus -from jade.helper.__optionals__ import TKINTER_AVAIL +from jade.helper.__optionals__ import TKINTER_AVAIL, OMC_AVAIL if TKINTER_AVAIL: from jade.gui.post_config_gui import PostConfigGUI @@ -235,6 +235,13 @@ def get_config( if (code, lib, bench) not in self.status.raw_data: if subset is not None and bench not in subset: continue + # if openmc is not available in system, skip processing + if code == CODE.OPENMC and not OMC_AVAIL: + logging.warning( + f"OpenMC not available in the system. Skipping {bench} processing." + ) + continue + raw_cfg = get_config(root_cfg, code, bench) if raw_cfg is None: continue From 67efea2261a5736f95977b962256efc06b77dd7c Mon Sep 17 00:00:00 2001 From: DAVIDE LAGHI Date: Tue, 9 Dec 2025 12:51:15 +0100 Subject: [PATCH 14/17] additional coverage for windows case --- tests/app/test_app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/app/test_app.py b/tests/app/test_app.py index f6747138..0396dfa9 100644 --- a/tests/app/test_app.py +++ b/tests/app/test_app.py @@ -76,10 +76,13 @@ def test_raw_process(self, tmpdir): app.raw_process(subset=["Oktavian"]) assert os.path.getmtime(filepath) == initial_mod_time - # finally try the force option and check that the file was overridden + # try the force option and check that the file was overridden app.raw_process(subset=["Oktavian"], force=True) assert os.path.getmtime(filepath) > initial_mod_time + # try case where openmc is not available on windows + app.raw_process(subset=["TUD-W"]) + def test_post_process(self, tmpdir): app = JadeApp(root=DUMMY_ROOT, skip_init=True) # override the post processor folder From ead1a0df4f0042243b99bfafea3dbe1b4b89f181 Mon Sep 17 00:00:00 2001 From: Davide Laghi Date: Mon, 15 Dec 2025 08:58:46 +0100 Subject: [PATCH 15/17] ensure openmc check done also for force option --- src/jade/app/app.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/jade/app/app.py b/src/jade/app/app.py index b0f550a3..5002a9bd 100644 --- a/src/jade/app/app.py +++ b/src/jade/app/app.py @@ -223,6 +223,11 @@ def get_config( to_process = {} for code, lib, bench in successful: + # if openmc is not available in system, skip processing + if code == CODE.OPENMC and not OMC_AVAIL: + logging.warning(f"OpenMC not installed. Skipping {bench} processing.") + continue + if force: # process all the successful simulations, force override raw_cfg = get_config(root_cfg, code, bench) @@ -235,12 +240,6 @@ def get_config( if (code, lib, bench) not in self.status.raw_data: if subset is not None and bench not in subset: continue - # if openmc is not available in system, skip processing - if code == CODE.OPENMC and not OMC_AVAIL: - logging.warning( - f"OpenMC not available in the system. Skipping {bench} processing." - ) - continue raw_cfg = get_config(root_cfg, code, bench) if raw_cfg is None: From 9bf4f09a4a997b8bf6adddde820d3dfed78f55b6 Mon Sep 17 00:00:00 2001 From: mcampos16 Date: Tue, 16 Dec 2025 11:20:43 +0100 Subject: [PATCH 16/17] Update of TUD-W OpenMC raw config file --- .../benchmarks_pp/raw/openmc/TUD-W.yaml | 8 +- .../TUD-W/TUD-W_pos1 Neutron flux.csv | 144 ------------------ .../TUD-W_pos1 Neutron spectra coarse.csv | 6 + .../TUD-W/TUD-W_pos1 Neutron spectra.csv | 144 ++++++++++++++++++ .../TUD-W/TUD-W_pos1 Photon flux.csv | 139 ----------------- .../TUD-W_pos1 Photon spectra coarse.csv | 4 + .../TUD-W/TUD-W_pos1 Photon spectra.csv | 139 +++++++++++++++++ .../TUD-W/TUD-W_pos2 Neutron flux.csv | 144 ------------------ .../TUD-W_pos2 Neutron spectra coarse.csv | 6 + .../TUD-W/TUD-W_pos2 Neutron spectra.csv | 144 ++++++++++++++++++ .../TUD-W/TUD-W_pos2 Photon flux.csv | 139 ----------------- .../TUD-W_pos2 Photon spectra coarse.csv | 4 + .../TUD-W/TUD-W_pos2 Photon spectra.csv | 139 +++++++++++++++++ .../TUD-W_pos3 Neutron spectra coarse.csv | 6 + .../TUD-W/TUD-W_pos3 Neutron spectra.csv | 144 ++++++++++++++++++ .../TUD-W_pos3 Photon spectra coarse.csv | 4 + .../TUD-W/TUD-W_pos3 Photon spectra.csv | 139 +++++++++++++++++ .../TUD-W_pos4 Neutron spectra coarse.csv | 6 + .../TUD-W/TUD-W_pos4 Neutron spectra.csv | 144 ++++++++++++++++++ .../TUD-W_pos4 Photon spectra coarse.csv | 4 + .../TUD-W/TUD-W_pos4 Photon spectra.csv | 139 +++++++++++++++++ .../_openmc_-_FENDL 3.1d_/TUD-W/metadata.json | 9 ++ 22 files changed, 1188 insertions(+), 567 deletions(-) delete mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron flux.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra.csv delete mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon flux.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra.csv delete mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron flux.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra.csv delete mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon flux.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra.csv create mode 100644 tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/metadata.json diff --git a/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml b/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml index 73225666..7f28755c 100644 --- a/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml +++ b/src/jade/resources/default_cfg/benchmarks_pp/raw/openmc/TUD-W.yaml @@ -4,15 +4,20 @@ Neutron spectra: 1: - ['by_energy', {}] - [format_decimals,{"decimals":{"Energy":2}}] + - [scale, {'factor': 0.02284}] + - [delete_cols, {'cols': ['energy low [eV]']}] Photon spectra: concat_option: no_action 2: - ['by_energy', {}] - - [format_decimals,{"decimals":{"Energy":2}}] + - [format_decimals,{"decimals":{"Energy":3}}] + - [scale, {'factor': 0.02284}] + - [delete_cols, {'cols': ['energy low [eV]']}] # coarse fluxes Neutron spectra coarse: concat_option: no_action 1: + - [scale, {'factor': 0.02284}] - [condense_groups, {"bins": [1.15, 3, 6, 9, 12, 20], "group_column": "Energy"} @@ -20,6 +25,7 @@ Neutron spectra coarse: Photon spectra coarse: concat_option: no_action 2: + - [scale, {'factor': 0.02284}] - [condense_groups, {"bins": [0.4, 3, 6, 10], "group_column": "Energy"} diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron flux.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron flux.csv deleted file mode 100644 index 0a4bf4a3..00000000 --- a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron flux.csv +++ /dev/null @@ -1,144 +0,0 @@ -Energy,Value,Error -1.11,0.0019648233288887744,1.914604055760084e-06 -1.18,0.0003241562582924277,1.5341706319954897e-07 -1.25,0.0002873485805700145,1.0977747176498004e-07 -1.32,0.0002532579639932221,1.7337519406705017e-07 -1.39,0.00022689532205545022,1.114288245200874e-07 -1.47,0.00020365215188102286,8.286139461032071e-08 -1.54,0.0001847408618544994,3.9912898734972886e-08 -1.62,0.0001640068526333044,9.243991933625263e-08 -1.69,0.00014858216103517984,7.356909028380559e-08 -1.77,0.00013730516345016408,8.41401718599972e-08 -1.85,0.00012492099530472732,1.188168676380409e-07 -1.92,0.00011368731762021759,7.985936735354854e-08 -2.0,0.00010705323650888703,7.160034209232393e-08 -2.08,9.708270628799649e-05,4.77593556633674e-08 -2.16,8.951843892565498e-05,4.8250280238072124e-08 -2.24,8.378462476941454e-05,6.956664915369901e-08 -2.32,7.74991762781414e-05,5.570265573142279e-08 -2.4,7.31819255054526e-05,8.571800495638014e-08 -2.48,6.816809556552571e-05,5.625586545223914e-08 -2.56,6.384990929800724e-05,5.158762018615049e-08 -2.64,6.0043391503343336e-05,6.513325173913088e-08 -2.72,5.535157718189826e-05,5.7594417970949556e-08 -2.81,5.004636029510776e-05,3.985626236947591e-08 -2.89,4.737081111263119e-05,6.662421737100479e-08 -2.97,4.218521189522181e-05,4.137944490199087e-08 -3.06,4.357557904288588e-05,4.819302261120207e-08 -3.14,4.0361490417844364e-05,7.144224137840628e-08 -3.23,3.691756041015462e-05,4.2904838980439684e-08 -3.31,3.5030199015832915e-05,3.9715601928171264e-08 -3.4,3.31815145049939e-05,3.481953797298631e-08 -3.49,3.068544444170284e-05,4.1237595498284424e-08 -3.58,2.885988354441446e-05,2.850939492359305e-08 -3.66,2.6779269365531164e-05,4.394851059174457e-08 -3.75,2.5713645982521976e-05,5.190558707378301e-08 -3.84,2.445819615805134e-05,1.9794964101128572e-08 -3.93,2.3129785019634165e-05,3.1991132306020915e-08 -4.02,2.2429943904573767e-05,5.0259728945836085e-08 -4.11,2.152413848556831e-05,2.4789542984759527e-08 -4.2,2.1150038206530983e-05,3.706235520899499e-08 -4.29,1.8920751598661128e-05,3.2834497664071274e-08 -4.38,1.83156054569648e-05,2.4891766727543446e-08 -4.47,1.8165760920212608e-05,2.646830002354722e-08 -4.57,1.695051977456143e-05,3.721925966452759e-08 -4.66,1.5727022729015522e-05,3.042489605888572e-08 -4.75,1.63312271722212e-05,5.623920178121537e-08 -4.85,1.4861326399031818e-05,3.484325250649793e-08 -4.94,1.4019398256102962e-05,3.125850766009012e-08 -5.03,1.3616609123964133e-05,2.5633576311312835e-08 -5.13,1.372264816849746e-05,4.426553574905344e-08 -5.22,1.2822743208094892e-05,2.23930730517397e-08 -5.32,1.2391648144602524e-05,2.4199241347848772e-08 -5.42,1.1671154178563766e-05,1.9703791919547602e-08 -5.51,1.1511171919712297e-05,2.69162351470162e-08 -5.61,1.1219245102132277e-05,3.453066548745085e-08 -5.71,1.1172502336643166e-05,1.6861279807490965e-08 -5.81,1.0136292180620624e-05,2.038414789959477e-08 -5.9,9.682594023396161e-06,2.6635885745911485e-08 -6.0,1.0411911554245346e-05,3.785615868934569e-08 -6.1,9.685609042313559e-06,3.206023688126536e-08 -6.2,9.083306690088951e-06,2.9938703440576236e-08 -6.3,9.062040145782241e-06,2.6284262976073268e-08 -6.4,8.620544073265921e-06,2.64998671791239e-08 -6.5,8.8789453994141e-06,1.7719576260866404e-08 -6.6,9.35342479697866e-06,2.923330704303643e-08 -6.7,8.934532201659524e-06,1.8516708404850292e-08 -6.81,8.894305212730264e-06,2.751696140391842e-08 -6.91,9.03745339112e-06,2.935136442417281e-08 -7.01,9.563114476986655e-06,2.3051251814778816e-08 -7.11,9.36368891251216e-06,2.71620121619444e-08 -7.22,8.825194364229964e-06,2.638670826875292e-08 -7.32,8.070173351940654e-06,1.7659692587500648e-08 -7.42,7.807241609120983e-06,1.7356515058383545e-08 -7.53,8.025097505457012e-06,2.2477924311219972e-08 -7.63,7.411715460561049e-06,2.450798083184662e-08 -7.74,7.753899763449895e-06,2.2656226867178796e-08 -7.84,7.343711384739345e-06,1.786865238765544e-08 -7.95,7.326072301588803e-06,2.32677197545659e-08 -8.06,7.514984485611128e-06,1.6634786067980662e-08 -8.16,7.385785081414881e-06,2.3677451299576557e-08 -8.27,6.880343954251283e-06,2.8763099524089492e-08 -8.38,7.636303155227426e-06,2.3684496793743886e-08 -8.49,7.346752263603499e-06,1.6294908520531268e-08 -8.59,7.175388304036372e-06,2.235331329445995e-08 -8.7,7.25741903243873e-06,1.7993093205689945e-08 -8.81,7.249051977330942e-06,2.0358536137956618e-08 -8.92,7.665770343415515e-06,2.1421521273860728e-08 -9.03,7.671475489105327e-06,2.0211377707801257e-08 -9.14,7.421451161393999e-06,2.5578801649511342e-08 -9.25,8.41175504121559e-06,2.348794209025048e-08 -9.36,8.031704265155726e-06,1.7258344356825677e-08 -9.47,8.35733535049009e-06,1.9399010802633347e-08 -9.59,8.698380084984213e-06,2.5361782676128323e-08 -9.7,8.828681817446661e-06,2.4801474019553382e-08 -9.81,8.642519766300264e-06,2.3096618680900142e-08 -9.92,9.161344091052896e-06,1.9130145672225633e-08 -10.0,8.86286413749936e-06,2.0551881874134613e-08 -10.1,8.295297393391122e-06,1.8560814810118977e-08 -10.3,7.95376897488936e-06,2.908943322075787e-08 -10.4,7.608706079089614e-06,1.7547928697272873e-08 -10.5,7.73783453242975e-06,1.667203498307047e-08 -10.6,7.657628205131924e-06,3.299895033944015e-08 -10.7,8.235088830065577e-06,1.8866717230550684e-08 -10.8,8.055279044438674e-06,1.7034621130233604e-08 -11.0,7.5870861299816745e-06,2.9693718010314774e-08 -11.1,7.898534185552456e-06,2.7544408351607518e-08 -11.2,7.329030215486061e-06,2.184150860155132e-08 -11.3,7.291887175060718e-06,2.206170017638224e-08 -11.4,7.515619861262204e-06,2.2076865380805502e-08 -11.5,7.489268948245426e-06,2.283120834153384e-08 -11.7,7.7664575199537e-06,1.6968516793743748e-08 -11.8,8.25996954039272e-06,1.7540673680366205e-08 -11.9,7.847517032676477e-06,1.402488252749359e-08 -12.0,8.113820829204987e-06,1.4525372853111819e-08 -12.1,8.197747308760118e-06,2.588490703749651e-08 -12.2,8.106091850027577e-06,1.859921652354637e-08 -12.4,8.20128850028255e-06,3.410355029530019e-08 -12.5,8.472613634826896e-06,2.7104812942213328e-08 -12.6,8.76247384308406e-06,2.626058219199761e-08 -12.7,8.497186197711816e-06,2.10631747731878e-08 -12.9,8.856573131065787e-06,3.449067518575719e-08 -13.0,8.813238632551523e-06,2.2178854031145467e-08 -13.1,8.546420370687982e-06,1.97908873821603e-08 -13.2,8.71770677349103e-06,2.2369089318849104e-08 -13.3,8.685605158411394e-06,7.683193700409862e-09 -13.5,9.068556794401831e-06,2.2224429017809763e-08 -13.6,1.0332637613316463e-05,2.2055967132415174e-08 -13.7,1.0746056993833484e-05,3.2118319972796795e-08 -13.8,1.2107594117595313e-05,3.571444321870466e-08 -14.0,1.5244946750422732e-05,2.8365665773144086e-08 -14.1,2.160694296385874e-05,3.78136554815475e-08 -14.2,3.2432196817158366e-05,2.665986908454164e-08 -14.3,6.464716162130853e-05,6.458383740300929e-08 -14.5,0.00022743744592185533,1.9115998316071766e-07 -14.6,0.0005280381991612089,1.5928771271764663e-07 -14.7,0.0007214169983792204,1.9974614641870521e-07 -14.8,0.0007548724062363257,2.86108339551502e-07 -15.0,0.0005459754336655346,1.7151775678144952e-07 -15.1,0.0003402577138193596,1.1426653061966358e-07 -15.2,0.0002524987560915784,1.1527706814383787e-07 -15.4,4.940372701493411e-05,9.021289797834652e-08 -15.5,0.0,0.0 -15.6,0.0,0.0 -15.7,0.0,0.0 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv new file mode 100644 index 00000000..d88fddee --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1.15 - 3,0.00023179388523700376,0.0017125176444544037 +3 - 6,5.984880714821897e-05,0.0035199374965500687 +6 - 9,2.4878517734722967e-05,0.005205145516420722 +9 - 12,2.3852806976465466e-05,0.0050032115483035185 +12 - 20,0.0004561949878461338,0.0012262249119157301 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra.csv new file mode 100644 index 00000000..3ef07281 --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Neutron spectra.csv @@ -0,0 +1,144 @@ +Energy,Value,Error +1.11,0.0019646960083370816,0.0008382172554865403 +1.18,0.00032413525296689035,0.004856482551620098 +1.25,0.0002873299603819935,0.004887567081840696 +1.32,0.0002532415528771554,0.006259178377067249 +1.39,0.00022688061923858117,0.006830411742194503 +1.47,0.00020363895522158083,0.0066450149147304245 +1.54,0.0001847288906466513,0.006511764869009219 +1.62,0.0001639962249892537,0.007246351501232858 +1.69,0.0001485725329111448,0.0077164589858606065 +1.77,0.00013729626607557246,0.008162504348057043 +1.85,0.00012491290042423165,0.008879582889207361 +1.92,0.00011367995068203588,0.009264156345014226 +2.0,0.00010704629945916124,0.008707175570542042 +2.08,9.707641532862906e-05,0.01006821251188242 +2.16,8.95126381308126e-05,0.009647923488727454 +2.24,8.377919552572956e-05,0.0106064909073278 +2.32,7.74941543315186e-05,0.011245622093712895 +2.4,7.317718331667986e-05,0.012605697124838227 +2.48,6.816367827293302e-05,0.012254692061506317 +2.56,6.384577182388476e-05,0.011892481693315977 +2.64,6.003950069157393e-05,0.01154061277409944 +2.72,5.534799039969685e-05,0.013679681331989548 +2.81,5.004311729096065e-05,0.013358436227172534 +2.89,4.7367741484071085e-05,0.014642101984090262 +2.97,4.218247829349101e-05,0.015251670496963101 +3.06,4.357275534536394e-05,0.013183963155915579 +3.14,4.03588749932653e-05,0.014152045359466469 +3.23,3.6915168152240045e-05,0.013845717853933596 +3.31,3.502792905893667e-05,0.015376267979314262 +3.4,3.317936434285398e-05,0.01561922515073916 +3.49,3.068345602490302e-05,0.01585794445630349 +3.58,2.885801342396079e-05,0.01735136683022478 +3.66,2.677753406887627e-05,0.0199645283063789 +3.75,2.5711979738262316e-05,0.01975668821356948 +3.84,2.4456611266940277e-05,0.02043510301029991 +3.93,2.3128286209564894e-05,0.017209280999706558 +4.02,2.2428490444208763e-05,0.021022692642863702 +4.11,2.1522743721394462e-05,0.017150411181325577 +4.2,2.114866768405518e-05,0.02122823256339084 +4.29,1.8919525533957528e-05,0.021777801997983202 +4.38,1.8314418605731192e-05,0.02051772467076595 +4.47,1.816458377890497e-05,0.02202358146857412 +4.57,1.6949421380880028e-05,0.01824984700829224 +4.66,1.572600361794268e-05,0.02269455583296585 +4.75,1.6330168908700433e-05,0.027487277866051624 +4.85,1.4860363385081164e-05,0.02303922146304551 +4.94,1.4018489799095961e-05,0.023771419448230125 +5.03,1.3615726767692898e-05,0.023142207417791143 +5.13,1.3721758940896136e-05,0.02466395354180931 +5.22,1.2821912294335004e-05,0.026194618059262324 +5.32,1.239084516580275e-05,0.021731508238188868 +5.42,1.1670397887772994e-05,0.027733764182553754 +5.51,1.1510425995771905e-05,0.027757548991096326 +5.61,1.121851809504966e-05,0.023643477349596456 +5.71,1.117177835849176e-05,0.023563826488167773 +5.81,1.0135635348887319e-05,0.02762933879042792 +5.9,9.681966591303446e-06,0.02829990344383294 +6.0,1.0411236862376637e-05,0.027558290781482687 +6.1,9.68498141484762e-06,0.031656009186972346 +6.2,9.082718091815427e-06,0.02945749530288689 +6.3,9.061452925580794e-06,0.025537078686786684 +6.4,8.619985462009973e-06,0.03067013884275854 +6.5,8.87837004375222e-06,0.026117511852204248 +6.6,9.352818695051815e-06,0.02850449572965253 +6.7,8.933953243972857e-06,0.02649796414577391 +6.81,8.89372886175248e-06,0.027766878805082055 +6.91,9.036867764140254e-06,0.03217041665742694 +7.01,9.56249478716855e-06,0.027721296298795262 +7.11,9.363082145470629e-06,0.026899629262965085 +7.22,8.824622491635169e-06,0.025179569688882908 +7.32,8.069650404707443e-06,0.030110467043492524 +7.42,7.806735699864712e-06,0.028404039982921844 +7.53,8.024577479138659e-06,0.026628257833893096 +7.63,7.411235181399205e-06,0.02708337521751676 +7.74,7.753397310745225e-06,0.026040379596113612 +7.84,7.343235512241612e-06,0.028199527231117336 +7.95,7.325597572103663e-06,0.02707172747223373 +8.06,7.514497514616462e-06,0.027268638731327 +8.16,7.385306482541607e-06,0.03046275645039695 +8.27,6.879898107963049e-06,0.028474359383398807 +8.38,7.635808322782966e-06,0.02792998540781522 +8.49,7.34627619405682e-06,0.027464732011367374 +8.59,7.174923338874265e-06,0.027200089395611745 +8.7,7.2569487516854295e-06,0.02349468567858345 +8.81,7.248582238762811e-06,0.02824641932669221 +8.92,7.665273601497261e-06,0.027372742451492547 +9.03,7.670978377493638e-06,0.028621686069110322 +9.14,7.420970251358739e-06,0.02806672118339845 +9.25,8.411209959488919e-06,0.024696896270723537 +9.36,8.031183810719348e-06,0.024305715000418657 +9.47,8.356793795159376e-06,0.025559558054515364 +9.59,8.697816429954705e-06,0.02324038615572664 +9.7,8.82810971886489e-06,0.02229374111321776 +9.81,8.641959731019409e-06,0.024220051553207996 +9.92,9.160750435955791e-06,0.02672244443671143 +10.0,8.862289823903254e-06,0.029930525145493922 +10.1,8.294759858120034e-06,0.025926406021097657 +10.3,7.953253570659785e-06,0.01961858023970744 +10.4,7.608213034935688e-06,0.027693881590032485 +10.5,7.737333120752048e-06,0.025297345950194613 +10.6,7.657131990824235e-06,0.03566544513938108 +10.7,8.234555196309389e-06,0.028070678876325632 +10.8,8.054757062356592e-06,0.024017707099346332 +11.0,7.586594486800451e-06,0.018886634549594127 +11.1,7.898022360537227e-06,0.027928285317102085 +11.2,7.3285552943280925e-06,0.030745266934211313 +11.3,7.291414660771777e-06,0.03127545312492776 +11.4,7.5151328490951916e-06,0.029462821579780033 +11.5,7.488783643617581e-06,0.027209660783095165 +11.7,7.765954253506406e-06,0.017903023551489334 +11.8,8.259434294366505e-06,0.024933722149142398 +11.9,7.84700851357276e-06,0.027923785990330435 +12.0,8.113295053615258e-06,0.02462494409717262 +12.1,8.19721609473451e-06,0.03216590572918376 +12.2,8.105566575275699e-06,0.023709960088479653 +12.4,8.200757056787735e-06,0.021639819822101832 +12.5,8.472064609463355e-06,0.027723849748418922 +12.6,8.761906034779028e-06,0.030292759397116835 +12.7,8.4966355800462e-06,0.02552423874211658 +12.9,8.855999225126897e-06,0.01912905178640906 +13.0,8.812667534688133e-06,0.02825691876611594 +13.1,8.545866562647965e-06,0.023822857341466257 +13.2,8.717141866092109e-06,0.02766220858207082 +13.3,8.685042331197123e-06,0.02437496786367754 +13.5,9.067969151921551e-06,0.016957284292446674 +13.6,1.0331968058399123e-05,0.023257373227737643 +13.7,1.074536064934028e-05,0.02459611454518166 +13.8,1.2106809545496498e-05,0.023409482706690243 +14.0,1.5243958877873305e-05,0.014987351310588896 +14.1,2.160554283395468e-05,0.018718504745891616 +14.2,3.243009521080464e-05,0.01358567616280224 +14.3,6.464297248523548e-05,0.01025086355709641 +14.5,0.0002274227079753597,0.003971353603828159 +14.6,0.0005280039822859031,0.003244516687226936 +14.7,0.0007213702505577256,0.003078632284014483 +14.8,0.0007548234905044009,0.0032515756585265116 +15.0,0.0005459400544574331,0.0024823893613466056 +15.1,0.0003402356651195044,0.0046771047949363915 +15.2,0.00025248239417218377,0.004989008966211027 +15.4,4.940052565342357e-05,0.007833308066068129 +15.5,0.0, +15.6,0.0, +15.7,0.0, diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon flux.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon flux.csv deleted file mode 100644 index c7bf7d95..00000000 --- a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon flux.csv +++ /dev/null @@ -1,139 +0,0 @@ -Energy,Value,Error -0.41,0.000249020878692972,2.429394942472722e-07 -0.43,0.000379596966706471,6.000413875736941e-08 -0.45,0.00037331675063437237,7.10557188368617e-08 -0.47,0.00037271293221342985,5.0374720434493646e-08 -0.5,0.0003757697481110718,7.53367506957739e-08 -0.52,0.0018919006571082638,1.966681298904881e-07 -0.54,0.00030434878626251963,9.309621344002846e-08 -0.56,0.00029043892941666143,5.539428452109288e-08 -0.58,0.00027244433002940517,7.460281965077678e-08 -0.61,0.0002858335401593076,6.017410272502577e-08 -0.63,0.0003019096205377079,9.194324600880919e-08 -0.66,0.00026432328392391277,6.610757660397304e-08 -0.68,0.0002603383226724027,5.318046072036761e-08 -0.71,0.0002542291172940898,8.009506163937034e-08 -0.74,0.00026584931612641765,6.58089876380081e-08 -0.76,0.00030590873384899587,7.94431543356128e-08 -0.79,0.00025942541785113307,5.974886411409567e-08 -0.82,0.0002926013358708631,7.896461616250188e-08 -0.87,0.0002738965040358624,1.1715226997894137e-07 -0.9,0.0003057831571514956,8.333110920771713e-08 -0.93,0.00029356817385782567,7.207392456101929e-08 -0.96,0.00024165613575966873,6.685467982129106e-08 -0.99,0.00023181166405688284,4.539865084201203e-08 -1.03,0.0002484724183683,6.392319699153028e-08 -1.06,0.00023981892458691076,7.242557678906255e-08 -1.09,0.00023133823112626655,8.823734349316254e-08 -1.12,0.0002329857498377572,6.098316445829263e-08 -1.16,0.0002460838503979002,1.238726415890863e-07 -1.19,0.00022950498673261608,4.250864809076042e-08 -1.23,0.00022663904577695335,7.896938979155257e-08 -1.26,0.00023271128455522116,3.845978364920917e-08 -1.3,0.0002210995912325601,6.014650453397386e-08 -1.34,0.00022834847432044532,8.544360256110784e-08 -1.37,0.0002117625159105731,8.428049991367548e-08 -1.41,0.00020799658381016818,7.65357668468232e-08 -1.45,0.0002075278620346367,8.421238979233523e-08 -1.49,0.0002170386339852233,8.857348004125315e-08 -1.53,0.00019206752801536334,9.215613728832369e-08 -1.57,0.0001851137515636763,6.617888608669635e-08 -1.61,0.00018377630304129892,8.533132360403062e-08 -1.65,0.00017835721158487917,7.691427836314155e-08 -1.69,0.00017486525376551502,9.252633908046171e-08 -1.73,0.00017499331825465483,9.016078793787426e-08 -1.78,0.00017177997663772937,1.0743407924204683e-07 -1.82,0.00017090495529438428,6.292356793864953e-08 -1.86,0.00016171177969653342,9.703115092783135e-08 -1.91,0.000161141485662371,4.189232225679225e-08 -1.96,0.00015477501181843315,9.265555752421821e-08 -2.0,0.00015097186543124735,8.90172566835345e-08 -2.05,0.0001472939467742284,6.578890938455085e-08 -2.1,0.00014606821485859845,7.70853144669321e-08 -2.14,0.0001438419441083731,7.820165903669473e-08 -2.19,0.00013675962315408015,7.007091418112109e-08 -2.24,0.00020001877359679081,8.978938610188784e-08 -2.29,0.00012621899020899517,5.8105495945819494e-08 -2.34,0.00012352827977640953,5.4920871291030265e-08 -2.4,0.00011893429722681594,6.842337659876823e-08 -2.45,0.00011464811692978255,4.867304959280559e-08 -2.5,0.00011111287745655639,7.444551119643524e-08 -2.56,0.00010805076406463655,9.341233559299492e-08 -2.61,0.00010371624832805375,5.035367189070016e-08 -2.66,9.95667845273684e-05,5.309075618272943e-08 -2.72,9.408697141092809e-05,6.136737220830767e-08 -2.78,9.20306426858903e-05,9.466166163846431e-08 -2.83,8.732542641016391e-05,3.7571568884911276e-08 -2.89,8.365206396767749e-05,4.242138453733662e-08 -2.95,8.021311533135006e-05,5.241820188491577e-08 -3.01,7.679395386635385e-05,7.003802856810655e-08 -3.07,7.617093233994499e-05,3.2140128673867116e-08 -3.13,7.260077896062372e-05,6.558057187434652e-08 -3.19,6.71122745246477e-05,3.517781375284317e-08 -3.25,6.500884876772217e-05,3.38603964427386e-08 -3.32,6.17159589584259e-05,6.346037792939551e-08 -3.38,5.645332612062299e-05,3.073178563184022e-08 -3.45,5.5208312341600294e-05,3.416860320865397e-08 -3.51,5.185873775997101e-05,6.351171653098973e-08 -3.58,4.993913191019816e-05,4.39123577850675e-08 -3.65,4.5522296670451764e-05,5.416926402746538e-08 -3.71,4.424536934452081e-05,3.276171393343107e-08 -3.78,3.9645111067276216e-05,5.142795376579404e-08 -3.85,3.748297854229228e-05,4.595660110552159e-08 -3.92,3.567535868899012e-05,3.247752637984151e-08 -3.99,3.2907774966080866e-05,4.220456959504704e-08 -4.06,3.016508686681481e-05,5.112223661803646e-08 -4.14,2.7931542050334337e-05,3.4432837462793e-08 -4.21,2.581190915042301e-05,4.702323415651744e-08 -4.29,2.378051297556799e-05,3.6500599621484304e-08 -4.36,2.4610216777932613e-05,3.819247953408311e-08 -4.44,0.00010428091215098637,6.657357385257658e-08 -4.51,2.136831551400484e-05,3.520902574125484e-08 -4.59,1.770195239536075e-05,2.9886201321684546e-08 -4.67,2.5540571582653505e-05,2.62948220847103e-08 -4.75,1.831555989345535e-05,3.189593817930361e-08 -4.83,1.120862734993581e-05,2.6051600308663837e-08 -4.91,1.0728111364807438e-05,3.0204036142111755e-08 -5.0,9.37394826996867e-06,2.646981708138335e-08 -5.08,7.753176239376322e-06,1.130411364688861e-08 -5.17,7.532297464216378e-06,2.5258062100907227e-08 -5.25,6.3524635416580814e-06,1.5456287317563754e-08 -5.34,1.5601305371827328e-05,2.4687070804674617e-08 -5.43,4.225681353059731e-06,1.6960680821157116e-08 -5.51,6.472650678593258e-06,1.9286765230429606e-08 -5.6,3.2849531914696912e-06,1.862492579968092e-08 -5.69,3.898098686399277e-06,1.2840222982209436e-08 -5.79,4.590635834438096e-06,1.4047820665581038e-08 -5.88,4.001675063899892e-06,2.4729170229879796e-08 -5.97,2.1223058864027565e-06,1.0898654137743304e-08 -6.07,4.178199671128766e-06,8.756135165027099e-09 -6.16,5.157219840117449e-06,8.320386153599097e-09 -6.26,2.5318288709110927e-06,1.5950837367776626e-08 -6.36,2.092708471552225e-06,6.960381016276957e-09 -6.46,1.989145819553505e-06,1.599498426150731e-08 -6.55,1.8823716964443797e-06,1.10447462764975e-08 -6.66,9.86554862384265e-07,1.590632280478788e-08 -6.76,7.656233589652246e-07,6.7457948716765314e-09 -6.86,1.22856564523877e-06,1.2230086345944929e-08 -6.97,8.589925887552736e-07,9.071009192320166e-09 -7.07,5.572287165562105e-07,7.822077146754915e-09 -7.18,6.800351307443751e-07,5.329973123812572e-09 -7.28,6.811611503897556e-07,9.202385094554156e-09 -7.39,1.9963698071354638e-06,1.090936502836027e-08 -7.5,1.1283604289611853e-06,1.1070001786213774e-08 -7.62,9.462151127213907e-07,9.03644684398914e-09 -7.73,4.769327380901063e-07,4.1379943901281224e-09 -7.84,8.746264913637957e-07,5.274721794057155e-09 -7.96,2.600867454363374e-07,3.6022562030299696e-09 -8.07,2.1102984162713158e-07,4.7456873516949174e-09 -8.19,3.504057183807248e-07,4.929029002240623e-09 -8.31,2.2797417161985907e-07,4.2855410927848505e-09 -8.43,1.9520714299836065e-07,4.918282501287551e-09 -8.55,9.195362552979638e-07,6.765170285812407e-09 -8.67,2.144235003353729e-07,5.688779251873706e-09 -8.79,1.41848946341276e-07,3.0323252901759797e-09 -8.92,1.0064025120997465e-07,2.9237075072705785e-09 -9.04,1.4898011801943479e-06,6.558311113542653e-09 -9.17,3.8596557999877854e-07,4.599338152030844e-09 -9.3,1.1485632409511037e-07,2.9859182568921034e-09 -9.43,8.899080940757759e-08,2.3854622213370648e-09 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv new file mode 100644 index 00000000..326765b0 --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,0.0006166553849201654,0.0010762992937410894 +3 - 6,8.858055838783195e-05,0.0028127100148660046 +6 - 10,3.4884212903798725e-06,0.014317952586857469 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra.csv new file mode 100644 index 00000000..6c64e73f --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos1 Photon spectra.csv @@ -0,0 +1,139 @@ +Energy,Value,Error +0.413,0.00024900474214003247,0.0026598435191105686 +0.433,0.0003795723688230285,0.008410135716801503 +0.453,0.0003732925597089315,0.008593883276760703 +0.473,0.0003726887804154223,0.009833374305996255 +0.495,0.00037574539823139407,0.008965903064209971 +0.517,0.0018917780619456834,0.004134676938777987 +0.538,0.0003043290644611697,0.011414014981946706 +0.562,0.0002904201089740355,0.009897088640595473 +0.585,0.0002724266756368195,0.009724372247657494 +0.609,0.0002858150181459053,0.008631124453012458 +0.632,0.000301890056794297,0.00997385162527645 +0.657,0.0002643061557751145,0.009867307633397365 +0.683,0.00026032145274909363,0.008913524645622086 +0.709,0.0002542126432472892,0.010217454003631858 +0.735,0.00026583208909073265,0.009225863002878225 +0.761,0.0003058889109630426,0.009556422777021109 +0.789,0.0002594086070840564,0.009105201595250531 +0.817,0.0002925823753042987,0.008285383379158753 +0.874,0.0002738787555424009,0.006169775229260175 +0.903,0.0003057633424029121,0.008801104171893297 +0.933,0.0002935491506401598,0.00832007519744272 +0.964,0.00024164047644207137,0.009533907982432572 +0.993,0.00023179664266105197,0.009522492162322692 +1.03,0.00024845631735558987,0.009484717400361624 +1.06,0.0002398033843205975,0.010475026091495962 +1.09,0.0002313232404088897,0.009969584650453363 +1.12,0.0002329706523611678,0.01026323621336121 +1.16,0.00024606790416439433,0.009160983523395545 +1.19,0.0002294901148094758,0.01036067093705154 +1.23,0.00022662435956678718,0.010028737613160905 +1.26,0.00023269620486398204,0.01022109153098925 +1.3,0.00022108526397904814,0.009241969276456666 +1.34,0.00022833367733930926,0.00924838490510824 +1.37,0.00021174879369954214,0.010615981019998418 +1.41,0.00020798310563153723,0.009175538665372062 +1.45,0.0002075144142291768,0.009426168593163814 +1.49,0.00021702456988174104,0.009435298227493946 +1.53,0.00019205508203954796,0.009731306742275622 +1.57,0.000185101756192575,0.010057815721726817 +1.61,0.00018376439433686185,0.009423056873843686 +1.65,0.00017834565403756844,0.01034288626926807 +1.69,0.00017485392249707112,0.01037254022570095 +1.73,0.00017498197868763194,0.010773833338595397 +1.78,0.00017176884529524335,0.008680345838456784 +1.82,0.00017089388065328115,0.01132869074754111 +1.86,0.00016170130077320906,0.012065569001813586 +1.91,0.0001611310436941001,0.01002381092623833 +1.96,0.00015476498239766723,0.010345529616228848 +2.0,0.00015096208245436743,0.012448910722712583 +2.05,0.00014728440212647748,0.010789554749763805 +2.1,0.0001460587496382756,0.009695421188477963 +2.14,0.00014383262315039488,0.011958578279321052 +2.19,0.0001367507611304997,0.01079905308651179 +2.24,0.00020000581238026165,0.007695679542706367 +2.29,0.00012621081121842956,0.009637159139439775 +2.34,0.00012352027514388,0.010130272392624142 +2.4,0.0001189265902843556,0.009184939559566424 +2.45,0.00011464068773180556,0.011701441106348881 +2.5,0.00011110567734209713,0.011346700467577383 +2.56,0.00010804376237512522,0.011406317830486214 +2.61,0.00010370952751516209,0.011101109593465481 +2.66,9.95603325997311e-05,0.012001475157219511 +2.72,9.408087457518068e-05,0.011241439521612821 +2.78,9.202467910024427e-05,0.012983513589398426 +2.83,8.731976772253254e-05,0.013472646897696249 +2.89,8.364664331393239e-05,0.010484776756780384 +2.95,8.02079175214766e-05,0.010974562364580576 +3.01,7.678897761814335e-05,0.012797941646578166 +3.07,7.616599646352935e-05,0.013126315282668853 +3.13,7.259607443014708e-05,0.012822217515034255 +3.19,6.710792564925849e-05,0.013245178185306012 +3.25,6.500463619432203e-05,0.013003631694022397 +3.32,6.171195976428539e-05,0.012306616595196267 +3.38,5.6449667945090325e-05,0.014908013838126241 +3.45,5.5204734842960565e-05,0.01358655281677015 +3.51,5.1855377313764174e-05,0.014277572147511877 +3.58,4.993589585445036e-05,0.014099902389827189 +3.65,4.551934682562752e-05,0.01332931875620859 +3.71,4.424250224458729e-05,0.015920143019365587 +3.78,3.9642542064079025e-05,0.017400860412117074 +3.85,3.748054964528274e-05,0.015825874502567835 +3.92,3.5673046925747083e-05,0.015434846987558565 +3.99,3.2905642542263066e-05,0.017028728563527863 +4.06,3.016313216918584e-05,0.018480246118141606 +4.14,2.7929732086409482e-05,0.020009655208907094 +4.21,2.5810236538710062e-05,0.02109148121349688 +4.29,2.377897199832717e-05,0.020870431755125922 +4.36,2.4608622035885412e-05,0.01972230631565734 +4.44,0.00010427415474787894,0.008092557906044818 +4.51,2.1366930847159537e-05,0.020237696053164292 +4.59,1.7700805308845538e-05,0.025031890928083986 +4.67,2.5538916553614955e-05,0.01910585262485081 +4.75,1.831437304517427e-05,0.022359557246851434 +4.83,1.1207901030883534e-05,0.02509080055229883 +4.91,1.0727416183190994e-05,0.033070851128090537 +5.0,9.373340838120773e-06,0.02806056462794728 +5.08,7.75267383355601e-06,0.03519960530892505 +5.17,7.531809371340698e-06,0.031408897833225244 +5.25,6.352051902020581e-06,0.03768661297359164 +5.34,1.5600294407239235e-05,0.023275625967745055 +5.43,4.225407528908052e-06,0.04735809138723811 +5.51,6.472231250829283e-06,0.041071055596530834 +5.6,3.284740326502884e-06,0.05321269931457799 +5.69,3.8978460896044e-06,0.04188579721971176 +5.79,4.590338361236025e-06,0.04063536181362838 +5.88,4.001415755355751e-06,0.041651788381390505 +5.97,2.1221683609813175e-06,0.07035387795156972 +6.07,4.177928923790079e-06,0.04206665088969855 +6.16,5.15688565227181e-06,0.036669524001299254 +6.26,2.531664808400258e-06,0.05593818335810983 +6.36,2.0925728640432685e-06,0.05177093658172473 +6.46,1.9890169229043992e-06,0.06138010269950535 +6.55,1.8822497187584495e-06,0.0640658812280358 +6.66,9.864909336291823e-07,0.09120284081427106 +6.76,7.655737465715637e-07,0.10458902095513495 +6.86,1.2284860341849585e-06,0.08949697595412501 +6.97,8.589369260355227e-07,0.08294496373647141 +7.07,5.571926081353775e-07,0.12231775313126593 +7.18,6.799910644679028e-07,0.09980912682490424 +7.28,6.811170111472102e-07,0.10821038304189702 +7.39,1.996240442371961e-06,0.05588390751362203 +7.5,1.1282873112053895e-06,0.07465361404593933 +7.62,9.461537979820859e-07,0.08465921826166777 +7.73,4.769018328486777e-07,0.10016540883138907 +7.84,8.74569815567155e-07,0.08212464985121355 +7.96,2.6006989181523316e-07,0.1395199400557605 +8.07,2.110161668933942e-07,0.17349762054423298 +8.19,3.503830120901736e-07,0.11986997894991251 +8.31,2.2795939889353815e-07,0.17434384585265064 +8.43,1.951944935754943e-07,0.1731641296489405 +8.55,9.194766693486209e-07,0.08327025109627452 +8.67,2.1440960569255115e-07,0.1697278501357976 +8.79,1.418397545295531e-07,0.19773108173448944 +8.92,1.0063372972169622e-07,0.21439461203965418 +9.04,1.489704641077871e-06,0.05922538906661489 +9.17,3.859405694291947e-07,0.12408488892919822 +9.3,1.1484888140530899e-07,0.2229238251056308 +9.43,8.898504280312795e-08,0.23379777393390946 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron flux.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron flux.csv deleted file mode 100644 index 8b3ea391..00000000 --- a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron flux.csv +++ /dev/null @@ -1,144 +0,0 @@ -Energy,Value,Error -1.11,0.0007516464808228346,2.661800667212842e-07 -1.18,5.210934977492003e-05,1.4359195899817604e-08 -1.25,4.462296507382689e-05,1.3547572442784677e-08 -1.32,3.801354729107955e-05,1.0700203598847954e-08 -1.39,3.264675809954489e-05,9.333382753030692e-09 -1.47,2.8329861019609468e-05,1.1247847053847928e-08 -1.54,2.4868213278433014e-05,9.307759499113108e-09 -1.62,2.2186788602295526e-05,9.315141349312688e-09 -1.69,1.9537819234723346e-05,7.355925520724097e-09 -1.77,1.791146241339681e-05,7.79775900355531e-09 -1.85,1.5919816772549607e-05,8.08902163013117e-09 -1.92,1.4588253295156281e-05,8.856643358508697e-09 -2.0,1.3544310945274413e-05,1.0989538179019668e-08 -2.08,1.1957948739173307e-05,1.1536445937430384e-08 -2.16,1.1126998172092092e-05,9.669843921455827e-09 -2.24,1.040343931898164e-05,1.065995521830118e-08 -2.32,9.648298299741772e-06,7.907055058821153e-09 -2.4,9.020617747212237e-06,7.154577235749039e-09 -2.48,8.123382430030816e-06,7.610653484015634e-09 -2.56,7.521688334005129e-06,6.782478037516429e-09 -2.64,6.9533739244134716e-06,6.256540888929612e-09 -2.72,6.691393787604759e-06,5.069592956978121e-09 -2.81,6.193253768744149e-06,7.946491879915798e-09 -2.89,5.668597877810812e-06,4.61238849422136e-09 -2.97,4.869426324778495e-06,5.4640680018117624e-09 -3.06,5.1727989533627145e-06,8.612899023628692e-09 -3.14,4.723067804667033e-06,4.083755545711512e-09 -3.23,4.428239227791949e-06,3.6403819215292515e-09 -3.31,4.1048022187162225e-06,6.536173945796745e-09 -3.4,3.766760457225543e-06,5.236403542523023e-09 -3.49,3.5687570485253625e-06,5.944995198115669e-09 -3.58,3.330447562442666e-06,6.182267911778814e-09 -3.66,3.2111124608526284e-06,2.5263797903195045e-09 -3.75,2.9392462459332593e-06,4.161394617996395e-09 -3.84,2.9689072786579413e-06,5.61153810571927e-09 -3.93,2.7916054702359802e-06,4.498663381506795e-09 -4.02,2.6476242726341827e-06,3.732183210575507e-09 -4.11,2.579721126001577e-06,5.4664778716298284e-09 -4.2,2.512547899377839e-06,4.014868438499454e-09 -4.29,2.3223240538729307e-06,5.4084544342924966e-09 -4.38,2.2136643144920775e-06,4.158484700117874e-09 -4.47,2.1150808642098125e-06,3.629503543159341e-09 -4.57,2.117186343598878e-06,3.871149113361079e-09 -4.66,2.0174989892864473e-06,3.5204966273801532e-09 -4.75,1.9451154159206184e-06,4.6887035306074285e-09 -4.85,1.7664511835239125e-06,4.9019062607746865e-09 -4.94,1.6962961650796452e-06,2.9423904348683883e-09 -5.03,1.612875513010705e-06,4.060580594318913e-09 -5.13,1.5549938955945794e-06,3.834201041595113e-09 -5.22,1.558563328024111e-06,4.013904501216849e-09 -5.32,1.4691828818702746e-06,4.5599456125472355e-09 -5.42,1.384213212237686e-06,3.0651751607378454e-09 -5.51,1.3786886822263916e-06,4.0537609918938535e-09 -5.61,1.439667619980835e-06,4.032640833334615e-09 -5.71,1.3299131280048293e-06,4.058322241507469e-09 -5.81,1.2334415502141963e-06,2.8827588337122117e-09 -5.9,1.2798890866010728e-06,4.008105037975758e-09 -6.0,1.2170622451068997e-06,4.048029510866246e-09 -6.1,1.2143608367829178e-06,3.0937715918619707e-09 -6.2,1.1901782739855011e-06,3.507752871900666e-09 -6.3,1.178239196240672e-06,3.9351389536217175e-09 -6.4,1.100466146084494e-06,1.8818902750191456e-09 -6.5,1.1114982460318665e-06,3.261243376416279e-09 -6.6,1.0926288421192114e-06,3.0523324683822316e-09 -6.7,1.1090563918351982e-06,1.7761447457437046e-09 -6.81,1.086393955684735e-06,3.291009504252991e-09 -6.91,1.131972846173635e-06,3.797833090474082e-09 -7.01,1.109112963792432e-06,2.5552367428965565e-09 -7.11,1.055179782571732e-06,2.0668860652098564e-09 -7.22,1.0485753734906685e-06,3.0639679026804567e-09 -7.32,1.0069092560939725e-06,3.0936212904569934e-09 -7.42,9.190888357098651e-07,3.770455385448652e-09 -7.53,9.30356429892307e-07,3.79904094048261e-09 -7.63,9.229911287504951e-07,3.237091097751944e-09 -7.74,9.430653666747985e-07,2.4341912776888e-09 -7.84,9.181007794895716e-07,2.777676043980542e-09 -7.95,8.956728620218241e-07,2.9457344469628613e-09 -8.06,9.237452932339951e-07,3.051701134685924e-09 -8.16,9.056417274192712e-07,2.3712636038840115e-09 -8.27,9.250967473906768e-07,2.8506957464321433e-09 -8.38,9.354814521845181e-07,3.680507084020528e-09 -8.49,9.206699770131096e-07,2.7572259879295075e-09 -8.59,9.325507686585185e-07,2.941700299759102e-09 -8.7,9.920750146221893e-07,2.65990326167601e-09 -8.81,9.495303928933474e-07,2.7259696814386677e-09 -8.92,9.970136152074433e-07,2.7381143303256447e-09 -9.03,9.622256704043007e-07,2.9324578303497267e-09 -9.14,1.0258390347300693e-06,3.6528163260650363e-09 -9.25,1.025754850639223e-06,3.6235742684549485e-09 -9.36,1.0565846147494694e-06,2.851328238740502e-09 -9.47,1.0541767935148844e-06,3.181885570702357e-09 -9.59,1.103292428448655e-06,3.4224508041724547e-09 -9.7,1.1422579700737559e-06,6.16041777742011e-09 -9.81,1.184920945608331e-06,3.434163132129757e-09 -9.92,1.1506273085396186e-06,3.911273963674004e-09 -10.0,1.1726040956904338e-06,3.81994714059881e-09 -10.1,1.1111835588756848e-06,3.3030460309921824e-09 -10.3,1.1573349979782251e-06,2.911697654198999e-09 -10.4,1.0034471670231813e-06,2.6067550854896183e-09 -10.5,1.0024412955101412e-06,3.46869086844303e-09 -10.6,1.0079581572379117e-06,2.0219607979273395e-09 -10.7,1.0005477247789123e-06,2.8292417283686345e-09 -10.8,1.023134482644539e-06,3.6113592421313365e-09 -11.0,9.905094635138763e-07,3.846954174144879e-09 -11.1,9.873367167202546e-07,2.3391931565882676e-09 -11.2,9.124189821684018e-07,1.618084463182834e-09 -11.3,9.679996661626633e-07,2.907990792492083e-09 -11.4,9.607894091662408e-07,4.0493260915718254e-09 -11.5,9.291154139014692e-07,3.2626073739554113e-09 -11.7,9.698676098702844e-07,3.4086472856520317e-09 -11.8,9.587489043000625e-07,3.2537170836031425e-09 -11.9,9.668009739890838e-07,3.159787849139129e-09 -12.0,9.978716879043996e-07,3.7077889972265202e-09 -12.1,9.262593059563233e-07,3.1512775511767946e-09 -12.2,1.0110580423368934e-06,4.238319727151863e-09 -12.4,9.906106857588191e-07,6.006793281557981e-09 -12.5,1.0769013748101094e-06,2.65037698774451e-09 -12.6,1.1099908841406673e-06,5.154013788483502e-09 -12.7,1.1088232118932408e-06,4.291837261105379e-09 -12.9,1.1079443355233313e-06,3.893674425027022e-09 -13.0,1.1544521026143657e-06,4.415050051977056e-09 -13.1,1.121679456419531e-06,5.1418826745990185e-09 -13.2,1.2046500847809117e-06,3.1032349504277307e-09 -13.3,1.1289541174695786e-06,4.670121386698422e-09 -13.5,1.1971099993289051e-06,4.257769553464792e-09 -13.6,1.2809899774723514e-06,4.28912877058026e-09 -13.7,1.4103547686570084e-06,4.244153437474494e-09 -13.8,1.4312648039432352e-06,3.0828097999489034e-09 -14.0,1.867115761891852e-06,6.341145660348064e-09 -14.1,2.8347956500619266e-06,5.805897371356754e-09 -14.2,4.4588878478647345e-06,6.671052201258236e-09 -14.3,7.746860203949554e-06,1.3250042739121398e-08 -14.5,2.0620197963015645e-05,1.855327263374077e-08 -14.6,4.087542137838e-05,3.006793032314734e-08 -14.7,5.177441932173634e-05,4.2649259774638563e-08 -14.8,5.061540067605291e-05,2.6190493512797945e-08 -15.0,3.623104401096453e-05,3.255710667941364e-08 -15.1,2.2130689967877164e-05,1.459762335168253e-08 -15.2,1.5225875146158568e-05,1.3904783163419841e-08 -15.4,2.818603561790468e-06,1.400242176752954e-08 -15.5,0.0,0.0 -15.6,0.0,0.0 -15.7,0.0,0.0 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv new file mode 100644 index 00000000..634c53ef --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1.15 - 3,3.159262130471466e-05,0.0014182265776840196 +3 - 6,7.128360308501343e-06,0.003647089340368295 +6 - 9,3.0815485422327623e-06,0.0053489255858932 +9 - 12,3.079001137094595e-06,0.005611874869184346 +12 - 20,3.402688017997753e-05,0.002275512355831924 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra.csv new file mode 100644 index 00000000..1ff820f3 --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Neutron spectra.csv @@ -0,0 +1,144 @@ +Energy,Value,Error +1.11,0.0007515977741308772,0.0003190354349429764 +1.18,5.2105973089054616e-05,0.00393655593254251 +1.25,4.4620073505690104e-05,0.004337155741722662 +1.32,3.8011084013215085e-05,0.004021199343529429 +1.39,3.264464258962004e-05,0.00408414332971299 +1.47,2.8328025244615396e-05,0.004962893678715164 +1.54,2.4866601818212573e-05,0.005346905761009759 +1.62,2.2185350898394097e-05,0.005248135228293543 +1.69,1.9536553184036936e-05,0.005378525056127966 +1.77,1.7910301750632422e-05,0.0054418776811622875 +1.85,1.5918785168422743e-05,0.006351377771570062 +1.92,1.4587307976342756e-05,0.008672969545444727 +2.0,1.3543433273925158e-05,0.010142208621227323 +2.08,1.195717386409501e-05,0.012059390566332956 +2.16,1.112627714261054e-05,0.010863042048605992 +2.24,1.040276517611377e-05,0.012808210452637886 +2.32,9.647673090011949e-06,0.010244105765045596 +2.4,9.020033211182216e-06,0.009914200773500392 +2.48,8.12285603484935e-06,0.011711029164219032 +2.56,7.521200928601086e-06,0.011271535286255517 +2.64,6.9529233457831695e-06,0.01124731129977558 +2.72,6.690960185287322e-06,0.00947036058161961 +2.81,6.192852445899933e-06,0.014256537438670214 +2.89,5.66823055266833e-06,0.010170920114734494 +2.97,4.869110785952649e-06,0.0140264674865481 +3.06,5.172463755990536e-06,0.018500405467741385 +3.14,4.72276174987329e-06,0.010808005820063143 +3.23,4.427952277889988e-06,0.009134259902476058 +3.31,4.104536227532449e-06,0.019904046521396497 +3.4,3.766516371147915e-06,0.01544623350603084 +3.49,3.568525793068618e-06,0.018509386126068724 +3.58,3.33023174944062e-06,0.02062541577326333 +3.66,3.210904380765165e-06,0.009834519271432989 +3.75,2.9390557827765224e-06,0.0157311480933971 +3.84,2.968714893466284e-06,0.02100113528135026 +3.93,2.7914245742015096e-06,0.01790552039546747 +4.02,2.647452706581316e-06,0.015662608463122205 +4.11,2.579553960072612e-06,0.023544654655075367 +4.2,2.512385086273959e-06,0.01775474582104745 +4.29,2.32217356727424e-06,0.025876637697735242 +4.38,2.2135208690444983e-06,0.020872805896709368 +4.47,2.1149438069698122e-06,0.01906679684385557 +4.57,2.117049149923813e-06,0.01828440432305433 +4.66,2.0173682553519414e-06,0.019388673501614655 +4.75,1.9449893724416667e-06,0.026783349445092405 +4.85,1.7663367174872204e-06,0.027750023926479746 +4.94,1.6961862450881479e-06,0.01927330128259662 +5.03,1.612770998677462e-06,0.027973369175206545 +5.13,1.5548931319901448e-06,0.02465733822144053 +5.22,1.5584623331204551e-06,0.02861541658300814 +5.32,1.4690876788195294e-06,0.03103729065194679 +5.42,1.384123515221533e-06,0.02214380800326808 +5.51,1.3785993431997834e-06,0.032670021433761534 +5.61,1.4395743295190602e-06,0.028010915695862584 +5.71,1.3298269496341346e-06,0.030515694266405578 +5.81,1.2333616232017424e-06,0.023371669563195835 +5.9,1.279806149788261e-06,0.034795593530858704 +6.0,1.2169833794734168e-06,0.03326066129436682 +6.1,1.2142821462006943e-06,0.02547654287055234 +6.2,1.190101150433347e-06,0.029472499612637107 +6.3,1.1781628463407555e-06,0.03339847262064679 +6.4,1.1003948358782278e-06,0.017100846597734958 +6.5,1.1114262209455235e-06,0.02934096736597785 +6.6,1.092558039770242e-06,0.027935675416201556 +6.7,1.1089845249810072e-06,0.0160149182568134 +6.81,1.0863235573564068e-06,0.027539059899891184 +6.91,1.1318994943332028e-06,0.03355056707686732 +7.01,1.1090410932723782e-06,0.023038561682295417 +7.11,1.0551114069218212e-06,0.019587999119660495 +7.22,1.0485074258064664e-06,0.026563902190460155 +7.32,1.0068440083741777e-06,0.030723933380629127 +7.42,9.190292787533111e-07,0.04102384055765939 +7.53,9.3029614279565e-07,0.03712204775815559 +7.63,9.22931318925352e-07,0.035071746595594686 +7.74,9.43004256039038e-07,0.02346498174710692 +7.84,9.180412865590608e-07,0.030254587579424636 +7.95,8.956148224203651e-07,0.0298986440237221 +8.06,9.236854345389936e-07,0.03003288654486925 +8.16,9.055830418353344e-07,0.026183241474983764 +8.27,9.250368011214458e-07,0.028013735806284988 +8.38,9.354208329864166e-07,0.03576677574006896 +8.49,9.206103175985991e-07,0.027225489507845622 +8.59,9.324903393687094e-07,0.0315446665063691 +8.7,9.920107281612418e-07,0.02437410315359883 +8.81,9.494688633238879e-07,0.026098735484412206 +8.92,9.96949008725178e-07,0.02496650805749172 +9.03,9.621633181808585e-07,0.027705254981851363 +9.14,1.0257725603606187e-06,0.03237098611166018 +9.25,1.0256883817249017e-06,0.03211448060728416 +9.36,1.0565161480664335e-06,0.02453297676767538 +9.47,1.0541084828586647e-06,0.02743964071195639 +9.59,1.1032209350992914e-06,0.025850284686722867 +9.7,1.1421839517572953e-06,0.049029027981245386 +9.81,1.1848441627310555e-06,0.026347466430779842 +9.92,1.1505527478900252e-06,0.030902305003110694 +10.0,1.172528110945033e-06,0.040720767932650004 +10.1,1.1111115541810696e-06,0.02972547608906556 +10.3,1.1572600026703561e-06,0.012579320850425851 +10.4,1.003382143646758e-06,0.02597800034876536 +10.5,1.002376337314192e-06,0.03460243391786678 +10.6,1.0078928415493228e-06,0.020059967602902157 +10.7,1.0004828892863468e-06,0.028276929308832445 +10.8,1.0230681835300636e-06,0.035297014257567746 +11.0,9.904452785006407e-07,0.019419068246443693 +11.1,9.87272737301011e-07,0.023691949433002266 +11.2,9.123598574183573e-07,0.01773400701657252 +11.3,9.67936939784296e-07,0.03004123755558644 +11.4,9.607271500125268e-07,0.0421458235586268 +11.5,9.290552072226486e-07,0.0351152001693238 +11.7,9.698047624491648e-07,0.017572745243590183 +11.8,9.586867773710638e-07,0.03393711397228183 +11.9,9.667383252859691e-07,0.032682919588937216 +12.0,9.978070258190232e-07,0.03715697160436613 +12.1,9.261992843532974e-07,0.034021548079597924 +12.2,1.0109925257757499e-06,0.041919648028867884 +12.4,9.90546494186382e-07,0.030318637623804403 +12.5,1.0768315916010217e-06,0.02461113942037463 +12.6,1.109918956731375e-06,0.04643293798285249 +12.7,1.1087513601491102e-06,0.03870623571973545 +12.9,1.1078725407303892e-06,0.01757161574000864 +13.0,1.1543772941181165e-06,0.0382436832327534 +13.1,1.121606771590755e-06,0.04584092759452187 +13.2,1.204572023455418e-06,0.025760467621534458 +13.3,1.1288809612427664e-06,0.041366795288066985 +13.5,1.1970324266009487e-06,0.017783535163233357 +13.6,1.2809069693218112e-06,0.033482922161839096 +13.7,1.4102633776679993e-06,0.030092807368715797 +13.8,1.4311720579839396e-06,0.021539059658670822 +14.0,1.8669947727904812e-06,0.01698112615664193 +14.1,2.8346119553038025e-06,0.020480832088302182 +14.2,4.458598911932192e-06,0.01496124690476995 +14.3,7.746358207408339e-06,0.017103758671630893 +14.5,2.061886177418764e-05,0.00449881050293935 +14.6,4.087277265107468e-05,0.007355992748016317 +14.7,5.177106433936429e-05,0.008237515810579719 +14.8,5.06121207980891e-05,0.00517441197006848 +15.0,3.6228696239312615e-05,0.004492984892949921 +15.1,2.2129255899167244e-05,0.006596099521917809 +15.2,1.5224888509449097e-05,0.009132337570052922 +15.4,2.818420916279664e-06,0.024839289138332738 +15.5,0.0, +15.6,0.0, +15.7,0.0, diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon flux.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon flux.csv deleted file mode 100644 index 412576d5..00000000 --- a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon flux.csv +++ /dev/null @@ -1,139 +0,0 @@ -Energy,Value,Error -0.41,4.337657671705403e-05,2.2292667197618398e-08 -0.43,6.48239029549449e-05,3.957695580448917e-09 -0.45,6.311518057564502e-05,5.588891918850042e-09 -0.47,6.304383923715639e-05,6.598127803939284e-09 -0.5,6.314819464115692e-05,6.54936168967237e-09 -0.52,0.00039735576345364265,1.649769568129465e-08 -0.54,5.200529157651041e-05,4.621835814642161e-09 -0.56,4.8767226991999106e-05,7.11694538421343e-09 -0.58,4.7160420920546406e-05,6.612719222055603e-09 -0.61,4.96702080548996e-05,6.318548032163134e-09 -0.63,5.0723835554947675e-05,4.732198366673864e-09 -0.66,4.325892851334388e-05,5.777773646222917e-09 -0.68,4.4344245282890225e-05,3.529146065992657e-09 -0.71,4.174477212370023e-05,5.597790790180995e-09 -0.74,4.6759088812461004e-05,6.040809722136573e-09 -0.76,5.234488797843055e-05,6.021735411722463e-09 -0.79,4.516466460191447e-05,7.2087325840871785e-09 -0.82,5.47451580469408e-05,4.6003590575488835e-09 -0.87,4.7935721114043106e-05,6.036795022310998e-09 -0.9,5.8484397661115304e-05,4.92517951570113e-09 -0.93,5.8431595954830776e-05,9.14377713751296e-09 -0.96,4.319731722563938e-05,6.756531054096123e-09 -0.99,4.0112960098014415e-05,4.781720729110357e-09 -1.03,4.4382438342324355e-05,7.333251314618611e-09 -1.06,4.1922061892248735e-05,9.4286358932164e-09 -1.09,3.947758111995351e-05,4.938057478825935e-09 -1.12,4.0159776396474e-05,3.1547759909633596e-09 -1.16,4.1837639950746644e-05,7.315638665568429e-09 -1.19,3.83687343534169e-05,6.396109871648492e-09 -1.23,3.7723368949068275e-05,7.756164758563831e-09 -1.26,3.82469626047372e-05,8.77091630725535e-09 -1.3,3.670714539590307e-05,6.72328012490979e-09 -1.34,3.861228346138686e-05,6.769713418687862e-09 -1.37,3.589446224272688e-05,5.96513611048551e-09 -1.41,3.5999637801218935e-05,7.858533302171392e-09 -1.45,3.6123593370785435e-05,3.267250229604352e-09 -1.49,3.7104607039163554e-05,6.255511553157194e-09 -1.53,3.409867875873389e-05,7.0905357800084646e-09 -1.57,3.3053691344963506e-05,7.831900464466996e-09 -1.61,3.349257143206825e-05,7.662943584453725e-09 -1.65,3.2014321452994935e-05,8.620747569047005e-09 -1.69,3.2550182115025925e-05,9.26620262600881e-09 -1.73,3.264779629704056e-05,6.91757568209455e-09 -1.78,3.211330071926236e-05,9.711131923080128e-09 -1.82,3.223792163287495e-05,7.030216325973361e-09 -1.86,3.116275259639403e-05,7.844508694000564e-09 -1.91,3.0195835838816405e-05,9.040771672743343e-09 -1.96,2.9735824787962167e-05,5.6758225251110076e-09 -2.0,2.9482129113112935e-05,5.19151233208597e-09 -2.05,2.871093517517957e-05,6.15386891663827e-09 -2.1,2.7734480503250916e-05,6.420987121674207e-09 -2.14,2.7529223339604914e-05,4.69631317113475e-09 -2.19,2.695094229347075e-05,8.059024788373954e-09 -2.24,3.3365481907146874e-05,7.534129973536095e-09 -2.29,2.531195509642086e-05,7.711423221778381e-09 -2.34,2.4613113513052924e-05,9.37917404287336e-09 -2.4,2.3971269423148713e-05,7.449496423926808e-09 -2.45,2.327756479093736e-05,6.116797541757972e-09 -2.5,2.2623190173672823e-05,8.185974551050176e-09 -2.56,2.2245109886822574e-05,5.276340956967851e-09 -2.61,2.1470385774674157e-05,4.9589924289468456e-09 -2.66,2.0805654942380614e-05,7.101759878957849e-09 -2.72,2.009763762083627e-05,4.141497206781306e-09 -2.78,1.934850399528032e-05,9.07273135474616e-09 -2.83,1.865519717427485e-05,6.988344525851564e-09 -2.89,1.7991007695593973e-05,8.027285910268501e-09 -2.95,1.785472540113367e-05,6.110430177796036e-09 -3.01,1.6884246163452398e-05,6.077177124868456e-09 -3.07,1.6198520740476954e-05,6.735704491061002e-09 -3.13,1.5575836599159756e-05,4.7605756545145425e-09 -3.19,1.5027361527143268e-05,6.041636504029856e-09 -3.25,1.4260618945308691e-05,6.3804816590012235e-09 -3.32,1.3727826983026222e-05,4.651337502737933e-09 -3.38,1.2902970104916717e-05,3.716432186105102e-09 -3.45,1.2474260518208302e-05,2.136969992169732e-09 -3.51,1.188276533509062e-05,4.592556152701991e-09 -3.58,1.130055956527216e-05,5.585764346456406e-09 -3.65,1.0540405371027472e-05,4.545898271903638e-09 -3.71,1.0187101508742204e-05,4.279468837382695e-09 -3.78,9.493622839761774e-06,5.415290614785599e-09 -3.85,8.90694996190899e-06,4.914263272866916e-09 -3.92,8.37237897589181e-06,3.8759597836357774e-09 -3.99,7.878581412070937e-06,2.844487417341207e-09 -4.06,7.374277434834127e-06,3.393017398341877e-09 -4.14,6.926114443013999e-06,4.5301055154067025e-09 -4.21,6.3219652561918334e-06,3.2700333593615983e-09 -4.29,5.846794861228555e-06,4.9431287768923015e-09 -4.36,6.200093439728738e-06,4.039391941485972e-09 -4.44,1.1458807018875098e-05,7.016801691801135e-09 -4.51,5.279714971006799e-06,3.234520157447649e-09 -4.59,4.541143521024886e-06,1.8497978305004466e-09 -4.67,6.51255932271163e-06,2.7197935952036475e-09 -4.75,4.583487643990508e-06,3.3157462384040274e-09 -4.83,2.813921084844601e-06,2.6200525772541907e-09 -4.91,2.6227642672793216e-06,1.3990023269823997e-09 -5.0,2.270364529020115e-06,2.5639616825738944e-09 -5.08,1.9692989681264845e-06,1.5179890301214376e-09 -5.17,1.8425238031172395e-06,1.938022074029409e-09 -5.25,1.6100248174569706e-06,2.434730728010983e-09 -5.34,3.7457310190695346e-06,3.991113535404122e-09 -5.43,1.1282971954069379e-06,9.120250232068615e-10 -5.51,1.7091705338752013e-06,1.9642822477302723e-09 -5.6,7.147329912940043e-07,1.6397531725633602e-09 -5.69,1.0657974656919724e-06,3.235210813957588e-09 -5.79,1.4662076016627395e-06,2.528207194626787e-09 -5.88,1.0191064375477805e-06,1.4734878537959316e-09 -5.97,3.5011991556441095e-07,7.845757107597899e-10 -6.07,1.0984899978558791e-06,1.3834057947262386e-09 -6.16,1.1009211723073252e-06,1.9553437357018456e-09 -6.26,6.180382055323464e-07,1.361236937728548e-09 -6.36,4.6016530074638375e-07,1.6940088425260183e-09 -6.46,4.162297613942477e-07,9.739767587528536e-10 -6.55,4.38388693803681e-07,8.447103161477003e-10 -6.66,1.5182613738839263e-07,1.3982183093721495e-09 -6.76,8.490377065254143e-08,8.977320642046686e-10 -6.86,1.5066508459472258e-07,6.440764228740418e-10 -6.97,4.233701819184039e-08,4.840432352162645e-10 -7.07,4.7857549506418416e-08,5.249533293161348e-10 -7.18,4.55231265324005e-08,5.446752592307609e-10 -7.28,1.5081406668682536e-07,5.489765473738543e-10 -7.39,6.531064773841779e-07,9.389409286327776e-10 -7.5,3.2538554800759855e-07,1.0751335363931133e-09 -7.62,1.6898923617365397e-07,5.301109546357932e-10 -7.73,8.637913353169134e-08,6.155712415677205e-10 -7.84,1.1684174978550123e-07,4.165596697516458e-10 -7.96,6.436741727255383e-08,7.773191111473141e-10 -8.07,3.44500691416079e-08,4.232941032381988e-10 -8.19,5.5607433137631775e-08,5.149712848600019e-10 -8.31,2.68302992537747e-08,3.0629576597191703e-10 -8.43,1.9063640599351145e-08,3.198209611262372e-10 -8.55,1.6733736313294355e-07,7.761486871083965e-10 -8.67,6.916917448532899e-08,5.300437111406347e-10 -8.79,3.8345398250550114e-08,2.763328722783766e-10 -8.92,3.336994237943286e-08,4.657374113716101e-10 -9.04,3.545762325972263e-07,8.824598516351319e-10 -9.17,1.5109184915047132e-07,5.85059111853964e-10 -9.3,3.2879342818548344e-08,4.347070542260039e-10 -9.43,1.4965947146486797e-08,2.596139319217921e-10 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv new file mode 100644 index 00000000..deeeb167 --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,0.00011246964867306693,0.0005459512430384746 +3 - 6,1.961128721358166e-05,0.0012750786551523373 +6 - 10,7.472635184115983e-07,0.006427950948336693 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra.csv new file mode 100644 index 00000000..0341cd2a --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos2 Photon spectra.csv @@ -0,0 +1,139 @@ +Energy,Value,Error +0.413,4.337376591488276e-05,0.0012443905562374324 +0.433,6.481970236603343e-05,0.0030526514140930884 +0.453,6.311109071194372e-05,0.004427533810310211 +0.473,6.303975399637382e-05,0.005232967950380245 +0.495,6.314410263814419e-05,0.004714279803455313 +0.517,0.00039733001480017085,0.0018872137444865614 +0.538,5.200192163361625e-05,0.0042320197247826645 +0.562,4.876406687569003e-05,0.006080710536556523 +0.585,4.7157364925270757e-05,0.006096415718555688 +0.609,4.966698942541765e-05,0.005300417392704956 +0.632,5.0720548650403716e-05,0.004056234171209231 +0.657,4.325612533477622e-05,0.005342502780151565 +0.683,4.4341371775795893e-05,0.0030609696091938253 +0.709,4.174206706246661e-05,0.005157523560991185 +0.735,4.675605882350595e-05,0.004968848653117343 +0.761,5.234149602968955e-05,0.004424600320829947 +0.789,4.5161737931648265e-05,0.005700357512121507 +0.817,5.474161056069936e-05,0.0030011519489764986 +0.874,4.793261487931492e-05,0.0022093896188602564 +0.903,5.848060787214686e-05,0.0029039159706761523 +0.933,5.8427809587412905e-05,0.0052162287589413905 +0.964,4.319451803948316e-05,0.005045512745844735 +0.993,4.011036077820007e-05,0.004110564797276637 +1.03,4.437956236031977e-05,0.0044656397638066034 +1.06,4.1919345342638115e-05,0.007496956230707822 +1.09,3.947502297269694e-05,0.0041695035838370895 +1.12,4.015717404296351e-05,0.002618520548037998 +1.16,4.1834928871677837e-05,0.004371445589534183 +1.19,3.836624805943079e-05,0.005556703028680857 +1.23,3.772092447476038e-05,0.0051401591206207695 +1.26,3.8244484201560406e-05,0.0076441070609957334 +1.3,3.6704766772881415e-05,0.004578999573786101 +1.34,3.860978138541856e-05,0.004383134595923185 +1.37,3.589213628157355e-05,0.00553951383934736 +1.41,3.599730502468941e-05,0.005457369700192718 +1.45,3.6121252561935004e-05,0.002261160867959707 +1.49,3.7102202660627414e-05,0.004214780894023859 +1.53,3.409646916435032e-05,0.0051985414377619535 +1.57,3.305154946576435e-05,0.005923620135743479 +1.61,3.349040111343945e-05,0.005719882989572915 +1.65,3.201224692496478e-05,0.00673194618672804 +1.69,3.2548072863224874e-05,0.00711685927997566 +1.73,3.2645680719840505e-05,0.005297122981254331 +1.78,3.2111219777375747e-05,0.006048043462100513 +1.82,3.2235832615553135e-05,0.005451821930422043 +1.86,3.116073325002578e-05,0.006293176982469352 +1.91,3.019387914865405e-05,0.005988091683239002 +1.96,2.9733897906515906e-05,0.0038174979611856757 +2.0,2.9480218671146402e-05,0.0044022535755201845 +2.05,2.8709074706580216e-05,0.004286777061834109 +2.1,2.7732683308914305e-05,0.004630328028622372 +2.14,2.752743944593251e-05,0.0042648435021216125 +2.19,2.694919587241013e-05,0.005980514299365627 +2.24,3.3363319823919287e-05,0.0045161223773137315 +2.29,2.5310314881730617e-05,0.006093107539424123 +2.34,2.4611518583297278e-05,0.00762128207623907 +2.4,2.3969716084890088e-05,0.005179461777364844 +2.45,2.3276056404738907e-05,0.00525553046179422 +2.5,2.262172419094957e-05,0.007236799486021522 +2.56,2.2243668403701907e-05,0.003953184155838083 +2.61,2.1468994493675956e-05,0.004619378972497408 +2.66,2.080430673594035e-05,0.006826759261965612 +2.72,2.009633529391844e-05,0.0034344809449043533 +2.78,1.9347250212221425e-05,0.007815187638416612 +2.83,1.8653988317497956e-05,0.007492115425601951 +2.89,1.7989841878295297e-05,0.0074363871534133584 +2.95,1.7853568414927675e-05,0.005703840337796565 +3.01,1.6883152064301005e-05,0.005998863344797605 +3.07,1.619747107633297e-05,0.006930369958854516 +3.13,1.557482728494813e-05,0.005093975342520123 +3.19,1.502638775411631e-05,0.006700706677745909 +3.25,1.4259694857201034e-05,0.007456994776396904 +3.32,1.372693741983772e-05,0.00484036393325042 +3.38,1.2902133992453918e-05,0.004800486704335023 +3.45,1.247345218612672e-05,0.002447290779338859 +3.51,1.1881995331896906e-05,0.006441480613859938 +3.58,1.1299827289012328e-05,0.007061299315303789 +3.65,1.0539722352759428e-05,0.006161186557667182 +3.71,1.0186441384564435e-05,0.007001449878735061 +3.78,9.493007653001758e-06,0.00814876426024931 +3.85,8.90637279155146e-06,0.007881908098865034 +3.92,8.371836445734172e-06,0.00661351501304221 +3.99,7.878070879995434e-06,0.005157722235526737 +4.06,7.3737995816563486e-06,0.006573074792413215 +4.14,6.925665630798092e-06,0.008175770037946697 +4.21,6.321555592843232e-06,0.0073892785523996495 +4.29,5.846415988921548e-06,0.010568031062777924 +4.36,6.1996916736738425e-06,0.009307214435563493 +4.44,1.1458064488180276e-05,0.00765437632408304 +4.51,5.279372845476678e-06,0.008751879803062385 +4.59,4.540849254924724e-06,0.00509177320078117 +4.67,6.5121373088675185e-06,0.005220285644306435 +4.75,4.5831906339911774e-06,0.009042639840949931 +4.83,2.813738742758303e-06,0.011638797332330312 +4.91,2.6225943121548014e-06,0.00666759468452739 +5.0,2.2702174093986347e-06,0.012547968740511263 +5.08,1.96917135755335e-06,0.009635338861000832 +5.17,1.8424044075747973e-06,0.01168700158114409 +5.25,1.6099204878487994e-06,0.01890289750204465 +5.34,3.7454882956994993e-06,0.011838999042689013 +5.43,1.1282240817486755e-06,0.00898133170074069 +5.51,1.7090597796246059e-06,0.01436575672818217 +5.6,7.146866765961684e-07,0.025491309226068622 +5.69,1.0657284020161954e-06,0.03372759645136937 +5.79,1.466112591410152e-06,0.017243173420733074 +5.88,1.0190403994506275e-06,0.016065139676474337 +5.97,3.500972277938824e-07,0.024898634752833042 +6.07,1.0984188157040179e-06,0.012593704061270344 +6.16,1.1008498326153597e-06,0.019734420641819773 +6.26,6.179981566566279e-07,0.022025126044692544 +6.36,4.6013548203489533e-07,0.03681305043597069 +6.46,4.1620278970570935e-07,0.023399978787925012 +6.55,4.383602862163225e-07,0.021409471348323578 +6.66,1.518162990546899e-07,0.08372126010971388 +6.76,8.489826888820315e-08,0.10573524088565316 +6.86,1.5065532149724087e-07,0.04274888403020247 +6.97,4.2334274753061565e-08,0.10393724535538168 +7.07,4.78544483372104e-08,0.10969080839497068 +7.18,4.55201766338012e-08,0.10877094002341739 +7.28,1.5080429393530403e-07,0.036400884840128316 +7.39,6.530641560844433e-07,0.013069578881106818 +7.5,3.2536446302408764e-07,0.030038031190337683 +7.62,1.689782856711499e-07,0.026141258394067803 +7.73,8.637353616383849e-08,0.06478534765594789 +7.84,1.1683417844011513e-07,0.032410556120593355 +7.96,6.436324626391457e-08,0.1006356870298571 +8.07,3.444783677712753e-08,0.11170161068294263 +8.19,5.560382977596446e-08,0.07717362826677926 +8.31,2.6828560650383055e-08,0.0951336655730189 +8.43,1.9062405275440307e-08,0.13980407688459603 +8.55,1.6732651967181254e-07,0.03865189223021775 +8.67,6.916469232282234e-08,0.06385837273667024 +8.79,3.834291346874347e-08,0.060053462493902185 +8.92,3.3367780007166674e-08,0.10735995379774387 +9.04,3.5455325605735394e-07,0.02073977729159562 +9.17,1.5108205839864637e-07,0.02978621766742 +9.3,3.28772122371337e-08,0.10170216708944455 +9.43,1.4964977353111705e-08,0.1334382799835713 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv new file mode 100644 index 00000000..53c9ca43 --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1.15 - 3,3.6730898060276795e-06,0.001843548102596628 +3 - 6,7.706522225285406e-07,0.004370333709596301 +6 - 9,3.426458904604879e-07,0.006821440039509525 +9 - 12,3.307918794178026e-07,0.006958212938184949 +12 - 20,2.940206159415026e-06,0.003071667001221298 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra.csv new file mode 100644 index 00000000..297321ee --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Neutron spectra.csv @@ -0,0 +1,144 @@ +Energy,Value,Error +1.11,0.00021753847976020992,0.00028020158802183386 +1.18,6.653543375244896e-06,0.004448718429390514 +1.25,5.5410795511951515e-06,0.005265918032486279 +1.32,4.597610776382972e-06,0.005895708399808997 +1.39,3.93206044758734e-06,0.006854542056942766 +1.47,3.332789477891621e-06,0.006316884214605528 +1.54,2.8810115374247835e-06,0.007384067610179714 +1.62,2.51785786002061e-06,0.007857841080797767 +1.69,2.254100336575343e-06,0.0099531400789879 +1.77,1.9985770509551243e-06,0.008713129427429918 +1.85,1.7759358934744398e-06,0.010896882109243469 +1.92,1.6081844928881782e-06,0.010150367828935797 +2.0,1.4627993818922876e-06,0.011458246360381412 +2.08,1.3168406372160347e-06,0.01170877215979906 +2.16,1.22420917906394e-06,0.011835901800553487 +2.24,1.1305854999234326e-06,0.014014165409069863 +2.32,1.0397730420360197e-06,0.013387375283595498 +2.4,9.751029343437783e-07,0.012983437418729274 +2.48,8.998114324860705e-07,0.01523226767668974 +2.56,8.235788535171305e-07,0.013854871428793427 +2.64,7.649422294559716e-07,0.015305577966503224 +2.72,7.192630257828381e-07,0.016597328526207298 +2.81,6.562451897010464e-07,0.016344144197736683 +2.89,6.139022369003808e-07,0.016943807376736786 +2.97,5.452362993363014e-07,0.017379344811083233 +3.06,5.410320428712402e-07,0.01671078910509052 +3.14,4.976734878815125e-07,0.018302905310555027 +3.23,4.738684307834499e-07,0.018843454666857766 +3.31,4.549861204858844e-07,0.01858911482588867 +3.4,4.2004860852145904e-07,0.020261695008467282 +3.49,3.894954204832883e-07,0.02092854004745167 +3.58,3.611979215933523e-07,0.02210966764069747 +3.66,3.611767945715463e-07,0.020573408142558987 +3.75,3.3286959730519636e-07,0.02041417912004421 +3.84,3.165369606396684e-07,0.02222202243630251 +3.93,3.0742885279252035e-07,0.023182488694168966 +4.02,2.833279682068698e-07,0.023452449544678507 +4.11,2.708522572882737e-07,0.0258929233178282 +4.2,2.6492066323365906e-07,0.029003820433693917 +4.29,2.4897096150625505e-07,0.02336422224880946 +4.38,2.408526270912562e-07,0.02244520903078836 +4.47,2.2155922118767157e-07,0.025061095904931396 +4.57,2.2082703886887123e-07,0.02409140403183414 +4.66,2.135341456556702e-07,0.024963149086937086 +4.75,2.0289937193444605e-07,0.029078860620441987 +4.85,1.9770625077196186e-07,0.027745056605410066 +4.94,1.8313335135251085e-07,0.03305984483183643 +5.03,1.736090232073837e-07,0.0330912800298482 +5.13,1.6591604225424113e-07,0.030321113733136285 +5.22,1.7107329469758848e-07,0.03395153129946967 +5.32,1.6267368883041606e-07,0.030948917223371578 +5.42,1.5328789053613396e-07,0.029781051286165854 +5.51,1.529487774167139e-07,0.03394140137317186 +5.61,1.4027066590530524e-07,0.03358556545524856 +5.71,1.3807392128004445e-07,0.029458537044912147 +5.81,1.5361492641468206e-07,0.033977853945133266 +5.9,1.4437681120107813e-07,0.04514954113933026 +6.0,1.3813910672499252e-07,0.036885650961540485 +6.1,1.3408003196251334e-07,0.03440899396138211 +6.2,1.2985950836283976e-07,0.03904272516150359 +6.3,1.220989488567162e-07,0.03841756890538214 +6.4,1.266286098233653e-07,0.03625524497111081 +6.5,1.2219436223832358e-07,0.03845081815596506 +6.6,1.2001892757019075e-07,0.03466666362477579 +6.7,1.2301851390103077e-07,0.03510959299226094 +6.81,1.241580580713015e-07,0.032643020288353995 +6.91,1.2178285797283043e-07,0.03510865224990526 +7.01,1.1990954602624792e-07,0.0346972683070857 +7.11,1.199795671390165e-07,0.03920625059005337 +7.22,1.1124616064475124e-07,0.031751175531187455 +7.32,1.1795811197535895e-07,0.03825496419231786 +7.42,1.0621205599489758e-07,0.037181728920901505 +7.53,9.406577286742365e-08,0.03385484161622396 +7.63,1.0595642905143925e-07,0.033554184776516414 +7.74,1.0485244653462656e-07,0.03410613874266622 +7.84,1.038869935625311e-07,0.038793465247041574 +7.95,9.66448735275597e-08,0.041454297420832176 +8.06,1.0056461716348165e-07,0.04125833863080218 +8.16,1.0005094894644409e-07,0.045165547990832375 +8.27,1.0381858666016225e-07,0.03291024553672527 +8.38,1.037422550680192e-07,0.03970314631944498 +8.49,1.052901611469086e-07,0.03294215886084365 +8.59,1.0997398886467036e-07,0.03659893086202113 +8.7,1.0875103355245256e-07,0.036094444757481366 +8.81,1.095591582872288e-07,0.037984859204846226 +8.92,1.1431632705014812e-07,0.03668723054986379 +9.03,1.0281957891787645e-07,0.03795606950299176 +9.14,1.0666737422485896e-07,0.030301977077630077 +9.25,1.1595780262317054e-07,0.036359487227703095 +9.36,1.1525563147545992e-07,0.035057439259540656 +9.47,1.1713751600570467e-07,0.0305878112914528 +9.59,1.0806288913934266e-07,0.039996236880496853 +9.7,1.223433042838146e-07,0.041574614819172996 +9.81,1.2196228027075345e-07,0.03319048012789105 +9.92,1.2182832193014313e-07,0.03345055157534882 +10.0,1.2734863696093782e-07,0.044410622967791274 +10.1,1.279624990185085e-07,0.03295063922228056 +10.3,1.141664793720505e-07,0.024149655313186996 +10.4,1.08499350563671e-07,0.04125876894769469 +10.5,1.1008112136053793e-07,0.029510808799702207 +10.6,1.1118933298402004e-07,0.03695299130255769 +10.7,1.1436241554579309e-07,0.041417111967669826 +10.8,1.0990994332760063e-07,0.038020734890320096 +11.0,1.0495688699227086e-07,0.02672088954906553 +11.1,1.0316280638379912e-07,0.034903146692978816 +11.2,1.1331830159869295e-07,0.040623344511298023 +11.3,1.0078364040325346e-07,0.038905648035017185 +11.4,1.0077030267835313e-07,0.042876578225381885 +11.5,1.0698473601107808e-07,0.03786975076250208 +11.7,1.0560605022646928e-07,0.029488202059377307 +11.8,9.918856924560991e-08,0.037125906803070194 +11.9,1.0432357463460702e-07,0.04215685118011939 +12.0,1.0061896337339812e-07,0.04530362486545779 +12.1,9.757001067879451e-08,0.0456193755635592 +12.2,1.092565911686692e-07,0.04304519886808275 +12.4,1.0839886157724016e-07,0.029355631274967577 +12.5,1.1060764330318572e-07,0.04118679924058094 +12.6,1.181030492939794e-07,0.03923874282303384 +12.7,1.2344951494952067e-07,0.03763533303489807 +12.9,1.216919129867387e-07,0.027095229749340255 +13.0,1.3089200534047407e-07,0.03836387367161804 +13.1,1.2609713624036152e-07,0.03820101333885636 +13.2,1.1528118460846371e-07,0.03837673932519295 +13.3,1.2258226329218114e-07,0.03838698381302886 +13.5,1.2612449570286762e-07,0.029042371823970816 +13.6,1.2755767794844445e-07,0.03401469543752104 +13.7,1.379437617627054e-07,0.038710511998632714 +13.8,1.5065969684886678e-07,0.02988530053943898 +14.0,2.0451347117891468e-07,0.02182419519973701 +14.1,3.396775066263844e-07,0.021995320316886294 +14.2,5.124614520169906e-07,0.02006847010199321 +14.3,8.753998215250314e-07,0.015894730814318914 +14.5,2.082513717806692e-06,0.007079710467765507 +14.6,3.6837917770604383e-06,0.008764434484330324 +14.7,4.338277446521956e-06,0.008598149160831986 +14.8,4.085799201300033e-06,0.008739574946947219 +15.0,2.80442824261054e-06,0.007335933105877345 +15.1,1.6766102265200604e-06,0.013585926888275002 +15.2,1.0960840821137771e-06,0.017409764727677284 +15.4,1.6399958896528041e-07,0.03675436384394541 +15.5,0.0, +15.6,0.0, +15.7,0.0, diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv new file mode 100644 index 00000000..10938a30 --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,2.719102251832662e-05,0.0005138911455029411 +3 - 6,5.610336592987622e-06,0.0011588472802488375 +6 - 10,2.2252903554435114e-07,0.0056219891883224704 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra.csv new file mode 100644 index 00000000..9cfdaece --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos3 Photon spectra.csv @@ -0,0 +1,139 @@ +Energy,Value,Error +0.413,9.17922331879084e-06,0.0014613275484127058 +0.433,1.4306446368371307e-05,0.004584719534403778 +0.453,1.374723184527487e-05,0.004518033623687096 +0.473,1.4082124177283067e-05,0.004466297160059322 +0.495,1.4116137098300088e-05,0.0036803382940599084 +0.517,0.00010731894646800941,0.0017442533552232463 +0.538,1.1534021730793863e-05,0.0044633747951186 +0.562,1.062384797921725e-05,0.00452394983435719 +0.585,1.0382736301717003e-05,0.004861418153082592 +0.609,1.1213541911633147e-05,0.004720074971793701 +0.632,1.0674859147002864e-05,0.005224184851656416 +0.657,9.466308380966576e-06,0.0048054343515033645 +0.683,9.779690785243518e-06,0.004512339177278057 +0.709,9.00691771113462e-06,0.00526944228157682 +0.735,1.0843845016282046e-05,0.005361909226349692 +0.761,1.1026806995677354e-05,0.005053627537954049 +0.789,1.0582522297519939e-05,0.004620987616768996 +0.817,1.3187063447480528e-05,0.004107668783497475 +0.874,1.124777909010902e-05,0.002945900574075392 +0.903,1.4170546752176479e-05,0.0037918186787326454 +0.933,1.457836359420818e-05,0.0038859744665117333 +0.964,1.0375109203165462e-05,0.00455551516368702 +0.993,9.13533382528068e-06,0.005499331407443013 +1.03,1.0733546986573281e-05,0.003959422719843443 +1.06,9.79141120306208e-06,0.0048111704270972664 +1.09,9.187509451224049e-06,0.004958290656173383 +1.12,9.50115294398944e-06,0.004977439251325932 +1.16,9.592019512697031e-06,0.004033024633664325 +1.19,8.770361263724e-06,0.0057293850069881505 +1.23,8.522776541397427e-06,0.0045699892347696655 +1.26,8.546582221710286e-06,0.005225973607650082 +1.3,8.650102374114635e-06,0.00402999219312984 +1.34,9.039203682965636e-06,0.004447747368617637 +1.37,8.477070499578706e-06,0.004694544199682707 +1.41,8.610283555592649e-06,0.004715779301720234 +1.45,8.881277403300524e-06,0.004473094578037664 +1.49,8.552886730668368e-06,0.004813049902864615 +1.53,8.296531259711219e-06,0.0047223959024708245 +1.57,8.079354182291423e-06,0.005117986744896946 +1.61,8.287110233677013e-06,0.004059002743286875 +1.65,8.0821654583462e-06,0.004963314340529192 +1.69,8.115488740341673e-06,0.0052333419166420555 +1.73,8.310182071460571e-06,0.00469087016975041 +1.78,8.225640199008406e-06,0.0046181754669813 +1.82,8.179461326988772e-06,0.005419031298194146 +1.86,8.016509535219513e-06,0.004642270561294362 +1.91,7.917448242651047e-06,0.004737012235481831 +1.96,7.760697016434081e-06,0.004316930907144171 +2.0,7.669670139133325e-06,0.004427433359977318 +2.05,7.546724788922865e-06,0.004398413235845745 +2.1,7.341332047507618e-06,0.004650596636454673 +2.14,7.174053757111641e-06,0.0050664944014700754 +2.19,7.14303039631489e-06,0.004823905313950798 +2.24,9.301758020755167e-06,0.003793592917287955 +2.29,6.820987133669783e-06,0.005116794035299092 +2.34,6.668654186861598e-06,0.004141823866861556 +2.4,6.45508067985742e-06,0.0041046906286603645 +2.45,6.3561371534764946e-06,0.0044080700417121485 +2.5,6.18086256654376e-06,0.004904506861330834 +2.56,6.01176620338804e-06,0.004686652706634464 +2.61,5.8092397009553945e-06,0.0044666158694200795 +2.66,5.6725727339403554e-06,0.005439061949725244 +2.72,5.545904897899907e-06,0.00490917675272227 +2.78,5.344876194740941e-06,0.005034559330707809 +2.83,5.187782754945456e-06,0.005534400615584972 +2.89,5.049298382028753e-06,0.005504755679142991 +2.95,4.8504152812378604e-06,0.005704752085522922 +3.01,4.72337028939174e-06,0.005185411809414688 +3.07,4.58044469575092e-06,0.0052551346101225044 +3.13,4.406552361635114e-06,0.005002129779269825 +3.19,4.2508654578079515e-06,0.005841385231389315 +3.25,4.04015685303697e-06,0.0057334964985714465 +3.32,3.911698084269936e-06,0.005142703482893885 +3.38,3.7508130812422786e-06,0.005763191714675261 +3.45,3.559570621710398e-06,0.00588236180517857 +3.51,3.4291788279815745e-06,0.006153290870088359 +3.58,3.25357386490142e-06,0.006591384967291202 +3.65,3.0991428071810174e-06,0.005849257016314229 +3.71,2.9211024810183513e-06,0.006270080597904143 +3.78,2.7749981243030714e-06,0.006708267897366689 +3.85,2.6334149170438156e-06,0.00557822015195016 +3.92,2.4568492437401013e-06,0.007062425432919592 +3.99,2.3227380127555204e-06,0.0064249609561984255 +4.06,2.1556999645545083e-06,0.007929423693750394 +4.14,2.0267166201997996e-06,0.006955441521184221 +4.21,1.8734066262570368e-06,0.007343738696381515 +4.29,1.7057288125352174e-06,0.006589302872371814 +4.36,1.8550429610104868e-06,0.007818810042834313 +4.44,2.1822165899023247e-06,0.006980267880668283 +4.51,1.5880952053477838e-06,0.007970273501710264 +4.59,1.3467804878836769e-06,0.007084691471563978 +4.67,2.0270295476527096e-06,0.006626015839165305 +4.75,1.4148228184097763e-06,0.007497718830594754 +4.83,8.287933521445834e-07,0.010521169808426975 +4.91,7.776714453687797e-07,0.010390404235257297 +5.0,6.509424816665141e-07,0.00974327492473416 +5.08,5.710413324590556e-07,0.012323599254149794 +5.17,5.543957943327689e-07,0.01144561316834145 +5.25,4.619365793822678e-07,0.013277570735234452 +5.34,1.1691161276397046e-06,0.007809939085531762 +5.43,3.3679177288842904e-07,0.015149807602934051 +5.51,5.031844823336173e-07,0.013064936517217499 +5.6,2.0206436549630676e-07,0.019714168830906435 +5.69,3.0695263207570574e-07,0.017610355212396192 +5.79,4.6063723857697027e-07,0.01093145592550947 +5.88,3.078030685372023e-07,0.014387046121312006 +5.97,1.0031076270812847e-07,0.027584779422539188 +6.07,3.2719446813466454e-07,0.013395241331001204 +6.16,3.431414880145179e-07,0.015685448635677522 +6.26,1.9163792187634975e-07,0.018178872080370452 +6.36,1.403227969063489e-07,0.020883147842557917 +6.46,1.1864994731095298e-07,0.025215759817478246 +6.55,1.2631381459597004e-07,0.026744542526680157 +6.66,3.340650117934481e-08,0.042390950325463805 +6.76,1.895166865763579e-08,0.08526380643809682 +6.86,3.711460844263047e-08,0.04695287099486467 +6.97,1.0370613838923612e-08,0.09237520169259783 +7.07,7.842166510829826e-09,0.10708369566971328 +7.18,1.0122021485903143e-08,0.08369703435665436 +7.28,4.3958670794508246e-08,0.04095465261147574 +7.39,2.1706132937157463e-07,0.017049515438892524 +7.5,9.19783618661313e-08,0.026614279501908474 +7.62,5.1767648061948434e-08,0.03417184610441555 +7.73,2.1858519969958342e-08,0.05808609418829238 +7.84,3.6152211461273096e-08,0.0382196046626867 +7.96,1.9154091486030053e-08,0.054216021201513594 +8.07,7.2525813847817365e-09,0.09517611979654099 +8.19,1.4522012897149193e-08,0.0661494832755704 +8.31,6.071853987582039e-09,0.12384747084325413 +8.43,3.6515166224785537e-09,0.14608865783301844 +8.55,5.5248222493904294e-08,0.028577257479213133 +8.67,2.4679014800068243e-08,0.053458069650957896 +8.79,1.2684433476645901e-08,0.06671627686951412 +8.92,6.8961132521347065e-09,0.08389389057235089 +9.04,1.1063498402930236e-07,0.023503612682593225 +9.17,5.019363046432425e-08,0.034872360452103277 +9.3,6.82027881455244e-09,0.08888238869719303 +9.43,3.77416702309692e-09,0.13214171514985132 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv new file mode 100644 index 00000000..0191bfee --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra coarse.csv @@ -0,0 +1,6 @@ +Energy,Value,Error +1.15 - 3,4.343578027811126e-07,0.0023278352064958854 +3 - 6,9.087046478547578e-08,0.005691686266166969 +6 - 9,4.1656127021186296e-08,0.009222097685960256 +9 - 12,4.139381271822691e-08,0.009373719573925129 +12 - 20,3.065473278638252e-07,0.004401277777269679 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra.csv new file mode 100644 index 00000000..197f94a9 --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Neutron spectra.csv @@ -0,0 +1,144 @@ +Energy,Value,Error +1.11,5.342083777907848e-05,0.00026031427539094045 +1.18,8.20557013774803e-07,0.006301680031529903 +1.25,6.747253263457755e-07,0.006544639824681752 +1.32,5.524102446724035e-07,0.007184267574179737 +1.39,4.7299495395174567e-07,0.007497887655068542 +1.47,3.9811693692912386e-07,0.008183832442050176 +1.54,3.373208628264932e-07,0.010952340939113752 +1.62,2.936262287468008e-07,0.009477999876784809 +1.69,2.572217355451144e-07,0.011832552947222399 +1.77,2.3471676168263278e-07,0.010869653747959446 +1.85,2.0613185970878634e-07,0.013473956312445913 +1.92,1.8595200474062066e-07,0.014129358172417042 +2.0,1.717834744564523e-07,0.012340153798173182 +2.08,1.5357459474104634e-07,0.014753826279642833 +2.16,1.3615809124948353e-07,0.014632708496640057 +2.24,1.3280938651750058e-07,0.015079132829418493 +2.32,1.1608071454154316e-07,0.016159052759751786 +2.4,1.0933203278569834e-07,0.019598337390847535 +2.48,1.0223407703537963e-07,0.02108443495521988 +2.56,9.248043251097068e-08,0.019280056616979395 +2.64,9.133446321443976e-08,0.020436586882261517 +2.72,8.311949647256515e-08,0.017549401304954186 +2.81,7.607683281701282e-08,0.018858155204062 +2.89,6.992384080913767e-08,0.025966462761862576 +2.97,6.392933231836999e-08,0.0231248563717765 +3.06,6.518714360881234e-08,0.026619446469291125 +3.14,6.056211087942687e-08,0.02194963482734599 +3.23,5.5168076650324765e-08,0.023252942298416485 +3.31,5.1113712811295804e-08,0.0237083687302247 +3.4,4.812420774167124e-08,0.02282395919272272 +3.49,4.651810023304566e-08,0.02507293351106295 +3.58,4.151521565093359e-08,0.024772764542460357 +3.66,4.224489212692022e-08,0.0321315522981328 +3.75,4.092727359035705e-08,0.028484118196647416 +3.84,3.7117335062284475e-08,0.02970719372969959 +3.93,3.596324062733772e-08,0.028906254065904875 +4.02,3.231656148263158e-08,0.031647607312691714 +4.11,3.2818745021038246e-08,0.03308093759233826 +4.2,3.2000109149518236e-08,0.03302071264650992 +4.29,2.896226713705238e-08,0.02970760027986275 +4.38,2.571967114641033e-08,0.03692941927864899 +4.47,2.7822823908899476e-08,0.03178727443846934 +4.57,2.6159080374978758e-08,0.030886091470057584 +4.66,2.6020551552321258e-08,0.038341852867030006 +4.75,2.464018482209383e-08,0.04153837863847174 +4.85,2.2596584323702895e-08,0.0379703669891055 +4.94,2.215224643468019e-08,0.0453708842750791 +5.03,2.1757360445975453e-08,0.040430042942664446 +5.13,2.027453495512058e-08,0.03834572121139806 +5.22,2.0725562727338456e-08,0.04310855445478748 +5.32,1.7356847982936093e-08,0.030855690301692044 +5.42,1.7263806777210962e-08,0.03839284312233584 +5.51,1.777630647453021e-08,0.046700020348210636 +5.61,1.7318129079040394e-08,0.04415240617298072 +5.71,1.841762363697042e-08,0.04109479585201298 +5.81,1.641184196582956e-08,0.0368859551074363 +5.9,1.651104553813658e-08,0.05268948260209829 +6.0,1.6450052535310438e-08,0.04351262573738868 +6.1,1.63381152748557e-08,0.052140558499351446 +6.2,1.5336402410099523e-08,0.04303045701408198 +6.3,1.673647183347962e-08,0.06944498924646217 +6.4,1.3525708354106876e-08,0.05093516181274315 +6.5,1.4620219362546888e-08,0.04605204133794043 +6.6,1.4297535440459211e-08,0.04573734704299585 +6.7,1.5264661873020294e-08,0.04733411695697867 +6.81,1.4836997830060912e-08,0.04198021436011099 +6.91,1.4240499242281023e-08,0.047438430722572485 +7.01,1.509224152916077e-08,0.04442361963041535 +7.11,1.4285334795282772e-08,0.05231037521721813 +7.22,1.4589005109109936e-08,0.04709517858965631 +7.32,1.4758419505161273e-08,0.03920145349502219 +7.42,1.2199617337972248e-08,0.04164372052534337 +7.53,1.3388079570720185e-08,0.05700566345373782 +7.63,1.2020285362464636e-08,0.046513776124850435 +7.74,1.2198115201201008e-08,0.04801070008049806 +7.84,1.1820234052747299e-08,0.04549822479067725 +7.95,1.4165618175947335e-08,0.04409481823958012 +8.06,1.3407302182023502e-08,0.05286667632131771 +8.16,1.2671341888688478e-08,0.05492136932432376 +8.27,1.2497962833730902e-08,0.060547850169025065 +8.38,1.2624279651329881e-08,0.05140163529696663 +8.49,1.1937008177938988e-08,0.047878764706900744 +8.59,1.3758017358902235e-08,0.04913923943370374 +8.7,1.205561741980468e-08,0.054600419154201614 +8.81,1.2784894776043201e-08,0.049610480058589736 +8.92,1.2920675486020048e-08,0.04484250662333676 +9.03,1.3693946792619087e-08,0.04859155652990901 +9.14,1.4486859555938945e-08,0.04534580795557202 +9.25,1.518199075369659e-08,0.055658829264715166 +9.36,1.4693566295088122e-08,0.04798489971938145 +9.47,1.415151005234975e-08,0.05071706845452581 +9.59,1.3989706768212677e-08,0.04397503894985754 +9.7,1.3987266334335063e-08,0.04255602440498444 +9.81,1.4329319202568657e-08,0.04169842225588774 +9.92,1.5055991185052734e-08,0.058292370029975914 +10.0,1.4951469504912174e-08,0.05090234897238953 +10.1,1.4074395463858748e-08,0.046834520370046394 +10.3,1.4501635974429915e-08,0.03575401583564115 +10.4,1.3956463797378519e-08,0.048266132508221406 +10.5,1.2615870242315583e-08,0.04783856076879949 +10.6,1.4276762646178557e-08,0.046919159633075504 +10.7,1.3889671957685717e-08,0.06329489860985142 +10.8,1.5723887502786584e-08,0.04819688959687873 +11.0,1.3840648284128854e-08,0.03397053712390926 +11.1,1.3975324002615802e-08,0.05430340761575398 +11.2,1.2757980533064887e-08,0.049367963479486285 +11.3,1.2963048591471694e-08,0.05104438203298765 +11.4,1.2884254910847455e-08,0.05630889707212144 +11.5,1.236283118348815e-08,0.04975267565896869 +11.7,1.3466115805023741e-08,0.03451767809920369 +11.8,1.2288937907876035e-08,0.04333580278850554 +11.9,1.2664579400937725e-08,0.06743180617244876 +12.0,1.30920384602689e-08,0.054267606698840024 +12.1,1.349756855420983e-08,0.056207397659965797 +12.2,1.2749062156920208e-08,0.05919419252947544 +12.4,1.2902149177698648e-08,0.03911287030959009 +12.5,1.3157078908425045e-08,0.05119790089832989 +12.6,1.4067805017503284e-08,0.04711312521805077 +12.7,1.5283502795043547e-08,0.0540786668212614 +12.9,1.521871315492481e-08,0.0359962429795746 +13.0,1.5520624436793725e-08,0.05148668513165527 +13.1,1.5315176312680143e-08,0.046640568823805524 +13.2,1.561510316667899e-08,0.04549445482133038 +13.3,1.4772215478428672e-08,0.04403883342443783 +13.5,1.5180683897365968e-08,0.03447220298659932 +13.6,1.5740210009286662e-08,0.046352530608700725 +13.7,1.6089630996999378e-08,0.03956897108632549 +13.8,1.728662497674984e-08,0.04686862411968658 +14.0,2.5137398219018814e-08,0.023531443000209745 +14.1,4.331250682788884e-08,0.030362209007505345 +14.2,6.41894862670347e-08,0.025504621312530208 +14.3,1.1674516705508491e-07,0.01756350213823385 +14.5,2.485612581759404e-07,0.009620289640717946 +14.6,3.99702821458945e-07,0.011780609951273112 +14.7,4.338092753193182e-07,0.011541135201130882 +14.8,3.971172163573145e-07,0.014048966654373284 +15.0,2.6078242298263523e-07,0.011954506083292429 +15.1,1.506940404824244e-07,0.024095241698306177 +15.2,9.138511153510044e-08,0.027184774776366646 +15.4,1.0382880424992818e-08,0.07367346895476799 +15.5,0.0, +15.6,0.0, +15.7,0.0, diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv new file mode 100644 index 00000000..920221e0 --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra coarse.csv @@ -0,0 +1,4 @@ +Energy,Value,Error +0.4 - 3,7.312688101261046e-06,0.00041270602440176337 +3 - 6,1.4849371549715735e-06,0.000931306968473989 +6 - 10,5.990293054178896e-08,0.004650424573060147 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra.csv b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra.csv new file mode 100644 index 00000000..8842266f --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/TUD-W_pos4 Photon spectra.csv @@ -0,0 +1,139 @@ +Energy,Value,Error +0.413,2.74537143047242e-06,0.0010128742708867928 +0.433,4.036773725030268e-06,0.003920334948234839 +0.453,3.870070394564341e-06,0.0036436961205446087 +0.473,3.932287408799854e-06,0.003456335391273102 +0.495,3.966868157671606e-06,0.0036994511861346375 +0.517,2.8655585256008708e-05,0.0014946555996277074 +0.538,3.236513348425612e-06,0.004150969946464107 +0.562,2.997704451000198e-06,0.004120386692408662 +0.585,2.8699262521311467e-06,0.003855130201880018 +0.609,3.105796697357604e-06,0.003980777602243389 +0.632,2.8590590810887957e-06,0.00416686362189599 +0.657,2.582051374042392e-06,0.00410076745137656 +0.683,2.660120640432334e-06,0.003451408199022367 +0.709,2.472884330800062e-06,0.003905479268528843 +0.735,2.9371106960473255e-06,0.0036693215257633 +0.761,2.84136408844753e-06,0.0036394052900526564 +0.789,2.8633522431014653e-06,0.004196989131870434 +0.817,3.5170818909673196e-06,0.0033380352951517156 +0.874,2.98668072904639e-06,0.00280176430188895 +0.903,3.756164881479555e-06,0.0035479001495921 +0.933,3.875328343181973e-06,0.0029512914132335294 +0.964,2.7241530814109643e-06,0.0033477797134331953 +0.993,2.390110892912336e-06,0.004204907370825523 +1.03,2.8144582857757184e-06,0.0032484601882982684 +1.06,2.567266118546228e-06,0.003596815247447598 +1.09,2.4068875234498994e-06,0.00484227077388345 +1.12,2.5049360037755575e-06,0.004087027246598658 +1.16,2.4749350057224785e-06,0.0034824711075479267 +1.19,2.259848513316951e-06,0.004404061809092187 +1.23,2.1791921316640647e-06,0.003991650444148277 +1.26,2.177766504863504e-06,0.0037792679323276385 +1.3,2.2273437895937152e-06,0.0034798149695534136 +1.34,2.318419007500715e-06,0.004137923225382816 +1.37,2.1868141276722994e-06,0.004690639337772738 +1.41,2.221155377508389e-06,0.00363998769238374 +1.45,2.2836083649400845e-06,0.003638436733925935 +1.49,2.1796552556558217e-06,0.003694999239329058 +1.53,2.142409022752525e-06,0.0037586889972637235 +1.57,2.0919267587622535e-06,0.004096320661367095 +1.61,2.149522791464919e-06,0.0037135855063721627 +1.65,2.086999197015115e-06,0.003909028080157944 +1.69,2.124563849689828e-06,0.003868409759227585 +1.73,2.182203615919512e-06,0.0038536379384577603 +1.78,2.1700817623525837e-06,0.0034794769411331107 +1.82,2.1269264239425373e-06,0.004881051471406573 +1.86,2.0789912816752097e-06,0.0037572527366194096 +1.91,2.0556543913919136e-06,0.003824166724665051 +1.96,2.009999072378218e-06,0.0034214634067382846 +2.0,1.9931017629366815e-06,0.004058577889980309 +2.05,1.9456366814240027e-06,0.0036921221077833018 +2.1,1.9111096590576594e-06,0.003589478496168106 +2.14,1.8844226788216637e-06,0.004378586838641007 +2.19,1.8400517454504965e-06,0.004026394543717723 +2.24,2.4651932349244437e-06,0.002971217476090499 +2.29,1.7798851449958801e-06,0.0037407138809934137 +2.34,1.7344873542765852e-06,0.003168185031614691 +2.4,1.6938127785608698e-06,0.003753527303631661 +2.45,1.651542394558131e-06,0.003452194522415895 +2.5,1.6107172524494253e-06,0.004027819388604611 +2.56,1.5805368255234621e-06,0.0035154169896256774 +2.61,1.5380117417803715e-06,0.004427130593875169 +2.66,1.4987441654558926e-06,0.004265289041629808 +2.72,1.4547650970596967e-06,0.0035981651893987237 +2.78,1.4172140769377925e-06,0.0041657837393683774 +2.83,1.375371648543444e-06,0.004426591170767282 +2.89,1.3274386727028433e-06,0.004352962807636951 +2.95,1.2876063918307282e-06,0.0044759818133815925 +3.01,1.2374432417649466e-06,0.004263207042108695 +3.07,1.196220289048923e-06,0.004112039257028281 +3.13,1.15960069611922e-06,0.004740258658159994 +3.19,1.1183226647662944e-06,0.004862970945352816 +3.25,1.074689318420793e-06,0.003865148939789444 +3.32,1.0363407835093334e-06,0.0044562391427754025 +3.38,1.000149312660727e-06,0.004669011977753924 +3.45,9.459575608696185e-07,0.004096775741653905 +3.51,9.094081018470487e-07,0.0041488411448371305 +3.58,8.646072440822437e-07,0.004400902019929595 +3.65,8.237350337642768e-07,0.004449308931999195 +3.71,7.784712314507608e-07,0.00517691757913088 +3.78,7.289552074246919e-07,0.005092274195603404 +3.85,6.975432115457483e-07,0.005317369685780008 +3.92,6.55879914564668e-07,0.005224540899568767 +3.99,6.129025640805859e-07,0.005297457940915661 +4.06,5.782410890541355e-07,0.0052486067962570744 +4.14,5.447174964281887e-07,0.005992208561646151 +4.21,5.043435824295407e-07,0.005940326533364975 +4.29,4.6275660169043154e-07,0.005850174201168468 +4.36,4.952278587887032e-07,0.00593112214856883 +4.44,5.134397531321384e-07,0.006268127299894613 +4.51,4.2411466795625773e-07,0.005812377612315932 +4.59,3.6101916458293064e-07,0.007215382857354634 +4.67,5.364693037332083e-07,0.005027674526918024 +4.75,3.834319535281802e-07,0.006703177452557954 +4.83,2.1985936332145385e-07,0.008660247944964963 +4.91,2.0796673925420735e-07,0.009651334942114956 +5.0,1.7452159646100697e-07,0.008787605623780063 +5.08,1.5517929929553728e-07,0.010378936196527296 +5.17,1.4752176046101978e-07,0.010252129709998807 +5.25,1.253570880247402e-07,0.01196215313444079 +5.34,3.117849989419114e-07,0.006476621081767819 +5.43,8.870753076744758e-08,0.01353230970187656 +5.51,1.3094187727219934e-07,0.012043410474131802 +5.6,5.265300323629511e-08,0.01587268948038502 +5.69,8.435266955924228e-08,0.015405238013439472 +5.79,1.2476833813734169e-07,0.009642564550699362 +5.88,8.245182692541073e-08,0.013796281737604225 +5.97,2.4245817060698598e-08,0.0265977319910033 +6.07,8.897445411850088e-08,0.012415924878932191 +6.16,9.400289740716118e-08,0.012383420747410775 +6.26,4.9147468980214585e-08,0.015018349673705944 +6.36,3.609234786908682e-08,0.01834557940632897 +6.46,3.2581056717643507e-08,0.020518229018521263 +6.55,3.511661966852206e-08,0.02195499355052161 +6.66,7.879990939972614e-09,0.04128332950151704 +6.76,4.00587884353076e-09,0.061852494363843206 +6.86,1.0311595598126984e-08,0.035461054055248915 +6.97,2.1428498388262655e-09,0.12287137350485612 +7.07,1.6880844836616646e-09,0.08549910302267567 +7.18,2.16851552698584e-09,0.06702797915125688 +7.28,1.1917357447708492e-08,0.030035215289289745 +7.39,5.956587235646754e-08,0.01404509282922021 +7.5,2.663187155922284e-08,0.018306159107232645 +7.62,1.4039008165209075e-08,0.025045797888837897 +7.73,5.745864448970225e-09,0.04299143808183261 +7.84,9.79693307045061e-09,0.037107494954567194 +7.96,5.479192217272874e-09,0.04979425635823765 +8.07,1.6055577454951625e-09,0.14546369281816018 +8.19,3.83263436675683e-09,0.05128586066004843 +8.31,1.6016124871087053e-09,0.08314598799557998 +8.43,6.119214279903417e-10,0.14095646113360014 +8.55,1.461195524929351e-08,0.027213086144942545 +8.67,6.745670152566072e-09,0.03774923468371811 +8.79,3.4508508732964896e-09,0.056229221718371886 +8.92,2.0855729912613083e-09,0.07014595290327444 +9.04,3.098669459237065e-08,0.016217476852904433 +9.17,1.3841764104159124e-08,0.03138646929260398 +9.3,1.4970680655126593e-09,0.09106553074204882 +9.43,5.608621606309031e-10,0.1526330367761591 diff --git a/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/metadata.json b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/metadata.json new file mode 100644 index 00000000..473127be --- /dev/null +++ b/tests/dummy_structure/raw_data/_openmc_-_FENDL 3.1d_/TUD-W/metadata.json @@ -0,0 +1,9 @@ +{ + "benchmark_name": "TUD-W", + "benchmark_version": "1.0", + "jade_run_version": "3.1.0", + "library": "FENDL 3.2c", + "code": "openmc", + "jade_version": "3.1.0", + "code_version": "0.15.0" +} \ No newline at end of file From 77a1c9c78393e420c5d4a47baf8cc53226b9c74f Mon Sep 17 00:00:00 2001 From: mcampos16 Date: Tue, 16 Dec 2025 11:22:50 +0100 Subject: [PATCH 17/17] Fix for CE index mismatch --- src/jade/helper/aux_functions.py | 25 ++++++++++++++++++++ src/jade/post/plotter.py | 36 +++++++++++++++++------------ tests/helper/test_auxiliary_func.py | 22 +++++++++++++++++- 3 files changed, 67 insertions(+), 16 deletions(-) diff --git a/src/jade/helper/aux_functions.py b/src/jade/helper/aux_functions.py index ec76739e..8b24040e 100644 --- a/src/jade/helper/aux_functions.py +++ b/src/jade/helper/aux_functions.py @@ -6,6 +6,8 @@ from pathlib import Path from typing import TYPE_CHECKING, Union +import numpy as np +import pandas as pd import yaml if TYPE_CHECKING: @@ -135,3 +137,26 @@ class VerboseSafeDumper(yaml.SafeDumper): def ignore_aliases(self, data): return True + + +def same_index( + index1: pd.Index | pd.MultiIndex, index2: pd.Index | pd.MultiIndex +) -> bool: + """Check if two pandas indices are the same, allowing for small numerical differences.""" + if index1.nlevels != index2.nlevels: + return False + for level in range(index1.nlevels): + subindex1 = index1.get_level_values(level) + subindex2 = index2.get_level_values(level) + if not subindex1.equals(subindex2): + # Check if both indices are numeric and match within a tolerance + try: + idx1 = np.array(subindex1, dtype=float) + idx2 = np.array(subindex2, dtype=float) + if np.allclose(idx1, idx2, rtol=1e-3): + continue + else: + return False + except Exception: + return False + return True diff --git a/src/jade/post/plotter.py b/src/jade/post/plotter.py index 04be687f..cce963b6 100644 --- a/src/jade/post/plotter.py +++ b/src/jade/post/plotter.py @@ -1,17 +1,16 @@ from __future__ import annotations +import logging import math +import warnings from abc import ABC, abstractmethod -import warnings +import matplotlib import matplotlib.pyplot as plt import numpy as np -import logging - import pandas as pd import seaborn as sns from f4enix.input.libmanager import LibManager -import matplotlib from matplotlib.axes import Axes from matplotlib.figure import Figure from matplotlib.lines import Line2D @@ -20,8 +19,8 @@ from matplotlib.ticker import AutoLocator, AutoMinorLocator, LogLocator, MultipleLocator from jade.config.atlas_config import PlotConfig, PlotType -from jade.post.manipulate_tally import compare_data, ComparisonType - +from jade.helper.aux_functions import same_index +from jade.post.manipulate_tally import ComparisonType, compare_data matplotlib.use("Agg") # use a non-interactive backend LM = LibManager() @@ -533,28 +532,35 @@ def _get_figure(self) -> tuple[Figure, list[Axes]]: ref = self.data[0][1].set_index([subcases[0], self.cfg.x]) else: ref = self.data[0][1].set_index(self.cfg.x) - val1 = ref[self.cfg.y] - err1 = ref["Error"] + val1 = ref[self.cfg.y].sort_index() + err1 = ref["Error"].sort_index() for codelib, df in self.data[1:]: if subcases: target = df.set_index([subcases[0], self.cfg.x]) else: target = df.set_index(self.cfg.x) - val2 = target[self.cfg.y] - err2 = target["Error"] + val2 = target[self.cfg.y].sort_index() + err2 = target["Error"].sort_index() # sometimes there are index which are numerical and may have slight # differences due to rounding. In reality the two must be the same # in a C/E plot - if not val1.index.equals(val2.index): - # this is a dirty fix, it may miss some edge cases but they - # should be fairly easy to spot from the plots - logging.debug("Indices do not match, substituting with experiment") + if same_index(val1.index, val2.index) is False: + logging.error( + f"Indices do not match between reference and {codelib}: " + f"{val1.index}, {val2.index}" + ) + raise RuntimeError("Indices do not match.") + else: val2.index = val1.index err2.index = err1.index values, errors = compare_data( - val1, val2, err1, err2, comparison_type=ComparisonType.RATIO + val1, + val2, + err1, + err2, + comparison_type=ComparisonType.RATIO, ) to_plot.append((codelib, values, errors)) diff --git a/tests/helper/test_auxiliary_func.py b/tests/helper/test_auxiliary_func.py index e694f106..cbe9466c 100644 --- a/tests/helper/test_auxiliary_func.py +++ b/tests/helper/test_auxiliary_func.py @@ -2,8 +2,10 @@ from importlib.resources import as_file, files +import pandas as pd + from jade.config.run_config import LibraryOpenMC -from jade.helper.aux_functions import get_code_lib, print_code_lib +from jade.helper.aux_functions import get_code_lib, print_code_lib, same_index from jade.helper.constants import CODE from tests.config import resources as conf_res @@ -15,3 +17,21 @@ def test_code_lib(): code_lib = print_code_lib(code, lib) assert get_code_lib(code_lib) == (code.value, lib.name) + + +def test_same_index(): + index1 = pd.MultiIndex.from_tuples([(1, 2.0), (2, 3.0), (3, 4.0)]) + index2 = pd.MultiIndex.from_tuples([(1, 2.0), (2, 3.0), (3, 4.0)]) + index3 = pd.MultiIndex.from_tuples([(1, 2.0), (2, 3.1), (3, 4.0)]) + index4 = pd.MultiIndex.from_tuples([(1, 2.0), (2, 3.0), ("a", 4.0)]) + index5 = pd.MultiIndex.from_tuples([(1, 2.0), (2, 3.0)]) + index6 = pd.Index([1, 2, 3]) + index7 = pd.Index([1, "b", 3]) + index8 = pd.Index([1, 2, 3]) + + assert same_index(index1, index2) is True + assert same_index(index1, index3) is False + assert same_index(index1, index4) is False + assert same_index(index1, index5) is False + assert same_index(index6, index7) is False + assert same_index(index6, index8) is True