Fix notebook accordingly
" profiles,\n",
" JFactory,\n",
" PrimaryFlux,\n",
- " DMAnnihilModel,\n",
+ " DMAnnihilation,\n",
")\n",
"\n",
"from gammapy.maps import WcsGeom, WcsNDMap\n",
"source": [
"channel = \"Z\"\n",
"massDM = 10 * u.TeV\n",
- "diff_flux = DMAnnihilModel(mass=massDM, channel=channel)\n",
+ "diff_flux = DMAnnihilation(mass=massDM, channel=channel)\n",
"int_flux = (jfact * diff_flux.integral(emin=0.1 * u.TeV, emax=10 * u.TeV)).to(\n",
" \"cm-2 s-1\"\n",
")"
],
"metadata": {
"kernelspec": {
- "display_name": "gammapy-dev",
+ "display_name": "Python 3",
"language": "python",
- "name": "gammapy-dev"
+ "name": "python3"
},
"language_info": {
"codemirror_mode": {
