Skip to content

Commit

Permalink
Merge pull request gammapy#5596 from meeseeksmachine/auto-backport-of…
Browse files Browse the repository at this point in the history
…-pr-5589-on-v1.3.x

Backport PR gammapy#5589 on branch v1.3.x (Fix select_nested_models docstring fit)
  • Loading branch information
registerrier authored Nov 23, 2024
2 parents 7b4fdf0 + 2b8cc90 commit f60c150
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions examples/tutorials/data/cta.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
analyse CTAO data and to use Gammapy, if you are a member of the CTAO
consortium, you can use the simulated dataset from:
- the CTA first data challenge which ran in 2017 and 2018 (https://forge.in2p3.fr/projects/data-challenge-1-dc-1/wiki),
- the CTAO Science Data Challenge of 2024 (https://ctaoobservatory.sharepoint.com/:f:/r/sites/share-open-data/Shared%20Documents/Reference%20datasets/Internal%20Science%20Data%20Challenge?csf=1&web=1&e=gNuFzI)
- the CTA first data challenge which ran in 2017 and 2018 (see `here <https://forge.in2p3.fr/projects/data-challenge-1-dc-1/wiki>`__
for CTAO members)
- the CTAO Science Data Challenge of 2024 (see `here <https://ctaoobservatory.sharepoint.com/:f:/r/sites/share-open-data/Shared%20Documents/Reference%20datasets/Internal%20Science%20Data%20Challenge?csf=1&web=1&e=gNuFzI>`__
for CTAO members)
Gammapy fully supports the FITS data formats (events, IRFs) used in CTA
1DC and SDC. The XML sky model format is not supported, but are also not needed
Expand Down
5 changes: 3 additions & 2 deletions gammapy/modeling/selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,10 @@ def select_nested_models(
n_free_parameters : int, optional
Number of free parameters to consider between the two hypothesis
in order to estimate the `ts_threshold` from the `n_sigma` threshold.
Default is len(parameters).
Default is ``len(parameters)``.
fit : `Fit`, optional
Fit instance specifying the backend and fit options. Default is None.
Fit instance specifying the backend and fit options. Default is None, which utilises
the "minuit" backend with tol=0.1 and strategy=1.
Returns
-------
Expand Down

0 comments on commit f60c150

Please sign in to comment.