Added link to mask_maps tutorial
"\n",
"Now comes the interesting part of the analysis - choosing appropriate models for our source and fitting them.\n",
"\n",
- "We choose a point source model with an exponential cutoff power-law spectrum.\n",
- "\n",
- "To perform the fit on a restricted energy range, we can create a *fit mask*. \n",
- "The fit mask is a `Map` sharing the same geometry as the `MapDataset` and \n",
- "containing boolean data. \n",
+ "We choose a point source model with an exponential cutoff power-law spectrum."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "To perform the fit on a restricted energy range, we can create a specific *mask*.\n",
+ "On the dataset, the `mask_fit` is a `Map` sharing the same geometry as the `MapDataset` \n",
+ "and containing boolean data.\n",
"\n",
"To create a mask to limit the fit within a restricted energy range, one can \n",
- "rely on the `~gammapy.maps.Geom.energy_mask()` method."
+ "rely on the `~gammapy.maps.Geom.energy_mask()` method.\n",
+ "\n",
+ "For more details on masks and the techniques to create them in gammapy, please refer\n",
+ "[to the dedicated tutorial](../../api/mask_maps.ipynb)"
]
},
{
"autocomplete": true,
"bibliofile": "biblio.bib",
"cite_by": "apalike",
- "current_citInitial": 1.0,
+ "current_citInitial": 1,
"eqLabelWithNumbers": true,
- "eqNumInitial": 1.0,
+ "eqNumInitial": 1,
"hotkeys": {
"equation": "Ctrl-E",
"itemize": "Ctrl-I"
"description": "Select energy:",
"description_tooltip": null,
"disabled": false,
- "index": 0.0,
+ "index": 0,
"layout": "IPY_MODEL_630e7d062f92495f80cc891b5f41e459",
"orientation": "horizontal",
"readout": true,
"description": "Select energy:",
"description_tooltip": null,
"disabled": false,
- "index": 0.0,
+ "index": 0,
"layout": "IPY_MODEL_2a623c0d2f104f7085d8dbe4ba7b1288",
"orientation": "horizontal",
"readout": true,
"description": "Select stretch:",
"description_tooltip": null,
"disabled": false,
- "index": 1.0,
+ "index": 1,
"layout": "IPY_MODEL_0aeefaeaa8cb4eaab1d9b3e2f598f1c8",
"style": "IPY_MODEL_b276e62a203044e5aa6a19271c359963"
}
"description": "Select stretch:",
"description_tooltip": null,
"disabled": false,
- "index": 1.0,
+ "index": 1,
"layout": "IPY_MODEL_8b34344bdfd04c8ba35f109aa2968082",
"style": "IPY_MODEL_9dac402f20464c7fb2bd21fe32d1f3ec"
}
}
}
},
- "version_major": 2.0,
- "version_minor": 0.0
+ "version_major": 2,
+ "version_minor": 0
}
}
},
