Skip to content

Commit

Permalink
change in load results
Browse files Browse the repository at this point in the history
  • Loading branch information
elenafuengar committed Jan 23, 2025
1 parent 44d1d9f commit 5bc3ceb
Showing 1 changed file with 16 additions and 23 deletions.
39 changes: 16 additions & 23 deletions notebooks/002_Wakefield_simulation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,22 @@
"fig.savefig('002_results/benchmark.png')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Wakefield results from previous runs can be easily loaded (longitudinal and transverse at once) using:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"wake.load_results(folder='002_results/')"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -415,29 +431,6 @@
" plot3d=True, plot_every=100, \n",
" **plotkw3D)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Load wake results"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Wakefield results from previous runs can be easily loaded (longitudinal and transverse at once) using:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"wake.load_results(folder='002_results/')"
]
}
],
"metadata": {
Expand Down

0 comments on commit 5bc3ceb

Please sign in to comment.