small change 1d simu
"livetime = 1 * u.h\n",
"pointing = SkyCoord(0, 0, unit=\"deg\", frame=\"galactic\")\n",
"offset = 0.5 * u.deg\n",
- "integration_radius = 0.1 * u.deg\n",
"# Reconstructed and true energy axis\n",
"energy_axis = MapAxis.from_edges(\n",
" np.logspace(-0.5, 1.0, 10), unit=\"TeV\", name=\"energy\", interp=\"log\"\n",
")\n",
"\n",
"on_region_radius = Angle(\"0.11 deg\")\n",
- "on_region = CircleSkyRegion(center=pointing, radius=on_region_radius)\n",
- "solid_angle = 2 * np.pi * (1 - np.cos(integration_radius)) * u.sr"
+ "on_region = CircleSkyRegion(center=pointing, radius=on_region_radius)"
]
},
{
