Fix pulsar notebook
"\n",
"for dataset in datasets:\n",
" dataset.models = model\n",
- " dataset.mask_fit = dataset.counts.energy_mask(emin=emin_fit, emax=emax_fit)\n",
+ " dataset.mask_fit = dataset.counts.geom.energy_mask(emin=emin_fit, emax=emax_fit)\n",
"\n",
"joint_fit = Fit(datasets)\n",
"joint_result = joint_fit.run()\n",
"\n",
"dataset = Datasets(datasets).stack_reduce()\n",
"\n",
- "dataset.model = model\n",
+ "dataset.models = model\n",
"\n",
"fpe = FluxPointsEstimator(\n",
" datasets=[dataset], e_edges=e_edges, source=\"vela psr\"\n",
