Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions compare.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,13 @@
},
"outputs": [],
"source": [
"# in this case we plot the silver Ag experiment spectrum but you could plot others\n",
"plt.stairs(values=flux_dict['Ag']['2000exp_5min'], edges=ebins)\n",
"# In this case we plot the silver Ag experiment spectrum but you could plot others\n",
"plt.stairs(values=flux_dict['Ag']['2000exp_5min'], edges=np.array(ebins)/1e6)\n",
"plt.yscale('log')\n",
"plt.xscale('log')\n",
"plt.xlabel('Energy [eV]') #TODO check these units\n",
"plt.ylabel('Flux [n/cm$^2$/s]') #TODO check these units\n",
"plt.xlim(0, 16)\n",
"plt.xlabel('Energy [MeV]')\n",
"plt.ylabel(r'Flux [n$\\cdot$cm$^{-2}\\cdot$s$^{-1}$]')\n",
"plt.show()\n",
"plt.close()"
]
},
Expand Down