Skip to content

Commit

Permalink
fix links in event sampling notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
Bultako committed Feb 21, 2022
1 parent d662edb commit 518f748
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/_static/gammapy.css
Expand Up @@ -225,6 +225,7 @@ table.docutils {
border-color: #666;
}

.btn-group-sm > .btn, .btn-sm {
.btn-group-sm > .btn,
.btn-sm {
padding: 0 5px;
}
6 changes: 3 additions & 3 deletions docs/tutorials/analysis/3D/event_sampling.ipynb
Expand Up @@ -64,7 +64,7 @@
"* `~gammapy.datasets.Dataset`\n",
"* `~gammapy.modeling.models.SkyModel`\n",
"* `~gammapy.datasets.MapDatasetEventSampler`\n",
"* `~gammapy.data.EventListgammapy.data.EventList`"
"* `~gammapy.data.EventList`"
]
},
{
Expand Down Expand Up @@ -130,7 +130,7 @@
"source": [
"### Define an Observation\n",
"\n",
"You can firstly create a `gammapy.data.Observations` object that contains the pointing position, the GTIs and the IRF you want to consider. \n",
"You can firstly create a `~gammapy.data.Observations` object that contains the pointing position, the GTIs and the IRF you want to consider. \n",
"\n",
"Hereafter, we chose the IRF of the South configuration used for the CTA DC1 and we set the pointing position of the simulated field at the Galactic Center. We also fix the exposure time to 1 hr.\n",
"\n",
Expand Down Expand Up @@ -324,7 +324,7 @@
"id": "6d502dfc",
"metadata": {},
"source": [
"The output of the event-sampler is an event list with coordinates, energies (true and reconstructed) and time of arrivals of the source and background events. `events` is a `~gammapy.data.EventListgammapy.data.EventList` object (more details [here](https://docs.gammapy.org/dev/tutorials/data/cta.html#Events)).\n",
"The output of the event-sampler is an event list with coordinates, energies (true and reconstructed) and time of arrivals of the source and background events. `events` is a `~gammapy.data.EventList` object (more details [here](https://docs.gammapy.org/dev/tutorials/data/cta.html#Events)).\n",
"Source and background events are flagged by the MC_ID identifier (where 0 is the default identifier for the background)."
]
},
Expand Down

0 comments on commit 518f748

Please sign in to comment.