Adapt analysis3d tutorial
" {\n",
" \"skycoord\": coord.skycoord,\n",
" \"energy\": coord[\"energy\"]\n",
- " * maps[\"counts\"].geom.get_axis_by_name(\"energy\").unit,\n",
" },\n",
" interp=3,\n",
")\n",
"outputs": [],
"source": [
"coords = maps[\"counts\"].geom.get_coord()\n",
- "mask = coords[\"energy\"] > 0.3"
+ "mask = coords[\"energy\"] > 0.3 * u.TeV"
]
},
{
