Update light_curve_flare.ipynb
Some corrections to update for recent changes in master.
"outputs": [],
"source": [
"datasets_3d = []\n",
- "maker = MapDatasetMaker(offset_max=offset_max)\n",
+ "maker = MapDatasetMaker()\n",
"maker_safe_mask = SafeMaskMaker(methods=[\"offset-max\"], offset_max=offset_max)\n",
"\n",
"reference = MapDataset.create(geom=geom, energy_axis_true=energy_axis_true)\n",
"outputs": [],
"source": [
"for dataset in datasets_1d:\n",
- " dataset.model = spectral_model_1d"
+ " dataset.model = sky_model"
]
},
{
