Minor fix in fermi_lat tutorial notebook
" psf_at_energy.plot_psf_vs_rad(label=\"PSF @ {:.0f}\".format(energy), lw=2)\n",
"\n",
"erange = [50, 2000] * u.GeV\n",
- "psf_mean = psf.table_psf_in_energy_band(energy_band=erange, spectral_index=2.3)\n",
+ "spectrum = PowerLaw(index=2.3)\n",
+ "psf_mean = psf.table_psf_in_energy_band(energy_band=erange, spectrum=spectrum)\n",
"psf_mean.plot_psf_vs_rad(label=\"PSF Mean\", lw=4, c=\"k\", ls=\"--\")\n",
"\n",
"plt.xlim(1e-3, 0.3)\n",
"version": "3.6.0"
},
"toc": {
- "base_numbering": 1.0,
+ "base_numbering": 1,
"nav_menu": {
"height": "237px",
"width": "253px"
},
"varInspector": {
"cols": {
- "lenName": 16.0,
- "lenType": 16.0,
- "lenVar": 40.0
+ "lenName": 16,
+ "lenType": 16,
+ "lenVar": 40
},
"kernels_config": {
"python": {
