Skip to content

Commit

Permalink
Add integrated spectrum to workflow example
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewfullard committed Nov 13, 2024
1 parent f22ac60 commit e6b2f23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/workflows/v_inner_solver_workflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
"outputs": [],
"source": [
"spectrum = workflow.spectrum_solver.spectrum_real_packets\n",
"spectrum_virtual = workflow.spectrum_solver.spectrum_virtual_packets"
"spectrum_virtual = workflow.spectrum_solver.spectrum_virtual_packets\n",
"spectrum_integrated = workflow.spectrum_solver.spectrum_integrated"
]
},
{
Expand All @@ -84,6 +85,7 @@
"\n",
"spectrum.plot(label=\"Normal packets\")\n",
"spectrum_virtual.plot(label=\"Virtual packets\")\n",
"spectrum_integrated.plot(label='Formal integral')\n",
"\n",
"plt.xlim(500, 9000)\n",
"plt.title(\"TARDIS example model spectrum\")\n",
Expand Down

0 comments on commit e6b2f23

Please sign in to comment.