Adapt analysi_2 notebook
"source": [
"stacked.counts.sum_over_axes().smooth(0.05 * u.deg).plot(\n",
" stretch=\"sqrt\", add_cbar=True\n",
- ")"
+ ");"
]
},
{
"\n",
"sky_model = SkyModel(\n",
" spatial_model=spatial_model, spectral_model=spectral_model, name=\"crab\"\n",
- ")"
+ ")\n",
+ "\n",
+ "bkg_model = FoVBackgroundModel(dataset_name=\"crab-stacked\")"
]
},
{
"metadata": {},
"outputs": [],
"source": [
- "bkg_model = FoVBackgroundModel(dataset_name=\"stacked\")\n",
"stacked.models = [sky_model, bkg_model]"
]
},
"autocomplete": true,
"bibliofile": "biblio.bib",
"cite_by": "apalike",
- "current_citInitial": 1.0,
+ "current_citInitial": 1,
"eqLabelWithNumbers": true,
- "eqNumInitial": 1.0,
+ "eqNumInitial": 1,
"hotkeys": {
"equation": "Ctrl-E",
"itemize": "Ctrl-I"
"description": "Select energy:",
"description_tooltip": null,
"disabled": false,
- "index": 0.0,
+ "index": 0,
"layout": "IPY_MODEL_095494c994ba43aa96803803704a7cdb",
"orientation": "horizontal",
"readout": true,
"description": "Select stretch:",
"description_tooltip": null,
"disabled": false,
- "index": 0.0,
+ "index": 0,
"layout": "IPY_MODEL_cceb2b5d8e8241978dca97767054211d",
"style": "IPY_MODEL_203fa8f78fd848f596a7e354c693d2f0"
}
}
}
},
- "version_major": 2.0,
- "version_minor": 0.0
+ "version_major": 2,
+ "version_minor": 0
}
}
},
