Skip to content

Commit

Permalink
Merge pull request #224 from fusion-energy/fixing_wmp_plots
Browse files Browse the repository at this point in the history
added missing back slash
  • Loading branch information
shimwell authored Jul 20, 2023
2 parents de49514 + 3e5f2e3 commit ada21ce
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tasks/task_01_cross_sections/4_Doppler_broadening.ipynb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand Down Expand Up @@ -34,6 +35,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -50,7 +52,7 @@
"\n",
"mt_number = REACTION_MT[\"(n,total)\"] # looks up the MT number for the total reaction\n",
"\n",
"h5_file = f\"WMP_Library/074186.h5\" # 074186 is W186\n",
"h5_file = f\"/WMP_Library/074186.h5\" # 074186 is W186\n",
"\n",
"isotope_multipole = openmc.data.WindowedMultipole.from_hdf5(h5_file) # loads up the WMP cross section file\n",
"\n",
Expand All @@ -70,13 +72,15 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"Zoom in on one of the spectral peaks to observe how increasing temperature causes Doppler broadening."
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -93,7 +97,7 @@
"\n",
"mt_number = REACTION_MT[\"(n,total)\"] # looks up the MT number for the total reaction\n",
"\n",
"h5_file = f\"WMP_Library/026056.h5\" # 026056 is Fe56\n",
"h5_file = f\"/WMP_Library/026056.h5\" # 026056 is Fe56\n",
"\n",
"isotope_multipole = openmc.data.WindowedMultipole.from_hdf5(h5_file) # loads up the WMP cross section file\n",
"\n",
Expand All @@ -113,6 +117,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand Down

0 comments on commit ada21ce

Please sign in to comment.