implement comments about the notebook
" methods=[\"aeff-default\", \"offset-max\"], offset_max=\"3 deg\"\n",
")\n",
"\n",
- "global_dataset = MapDataset.create(geom)\n",
+ "stacked = MapDataset.create(geom)\n",
"\n",
"for obs in observations:\n",
- " local_dataset = global_dataset.cutout(obs.pointing_radec, width=\"6 deg\")\n",
+ " local_dataset = stacked.cutout(obs.pointing_radec, width=\"6 deg\")\n",
" dataset = dataset_maker.run(local_dataset, obs)\n",
" dataset = safe_mask_maker.run(dataset, obs)\n",
" dataset = fov_bkg_maker.run(dataset)\n",
- " global_dataset.stack(dataset)\n",
+ " stacked.stack(dataset)\n",
"\n",
- "print(global_dataset)"
+ "print(stacked)"
]
},
{
"zero, then data is added to the larger map dataset. To stack multiple\n",
"observations, the larger dataset must be created first.\n",
"\n",
- "The data reduction loop shown above can be done throught the `DatasetsMaker`. Its `stack_datasets` option offers the possibily to stack or not the output datasets, and the `n_jobs` option allow to use multiple processes on run:"
+ "The data reduction loop shown above can be done throught the `DatasetsMaker` class that take as argument a list of makers. **Note that the order of the makers list is important as it determines their execution order.** Moreover the `stack_datasets` option offers the possibily to stack or not the output datasets, and the `n_jobs` option allow to use multiple processes on run."
]
},
{
