diff --git a/docs/dev/.doctrees/api-reference/utils.doctree b/docs/dev/.doctrees/api-reference/utils.doctree index c671c4c4ace..ae99444d9e9 100644 Binary files a/docs/dev/.doctrees/api-reference/utils.doctree and b/docs/dev/.doctrees/api-reference/utils.doctree differ diff --git a/docs/dev/.doctrees/api/gammapy.datasets.FluxPointsDataset.doctree b/docs/dev/.doctrees/api/gammapy.datasets.FluxPointsDataset.doctree index 681eba1430a..75a39e58883 100644 Binary files a/docs/dev/.doctrees/api/gammapy.datasets.FluxPointsDataset.doctree and b/docs/dev/.doctrees/api/gammapy.datasets.FluxPointsDataset.doctree differ diff --git a/docs/dev/.doctrees/api/gammapy.datasets.MapDatasetMetaData.doctree b/docs/dev/.doctrees/api/gammapy.datasets.MapDatasetMetaData.doctree index dfb3ad4ef71..c4c116b847a 100644 Binary files a/docs/dev/.doctrees/api/gammapy.datasets.MapDatasetMetaData.doctree and b/docs/dev/.doctrees/api/gammapy.datasets.MapDatasetMetaData.doctree differ diff --git a/docs/dev/.doctrees/api/gammapy.estimators.FluxMetaData.doctree b/docs/dev/.doctrees/api/gammapy.estimators.FluxMetaData.doctree index d459731f097..f2708c3ccb0 100644 Binary files a/docs/dev/.doctrees/api/gammapy.estimators.FluxMetaData.doctree and b/docs/dev/.doctrees/api/gammapy.estimators.FluxMetaData.doctree differ diff --git a/docs/dev/.doctrees/api/gammapy.utils.interpolation.interpolate_profile.doctree b/docs/dev/.doctrees/api/gammapy.utils.interpolation.interpolate_profile.doctree index 9c04fd6f247..bbad07374e4 100644 Binary files a/docs/dev/.doctrees/api/gammapy.utils.interpolation.interpolate_profile.doctree and b/docs/dev/.doctrees/api/gammapy.utils.interpolation.interpolate_profile.doctree differ diff --git a/docs/dev/.doctrees/environment.pickle b/docs/dev/.doctrees/environment.pickle index 0608dd0a4b2..5fa8e871c6e 100644 Binary files a/docs/dev/.doctrees/environment.pickle and b/docs/dev/.doctrees/environment.pickle differ diff --git a/docs/dev/.doctrees/index.doctree b/docs/dev/.doctrees/index.doctree index 87045ab2f61..b8552e6795f 100644 Binary files a/docs/dev/.doctrees/index.doctree and b/docs/dev/.doctrees/index.doctree differ diff --git a/docs/dev/.doctrees/sg_execution_times.doctree b/docs/dev/.doctrees/sg_execution_times.doctree index 0823cfbed62..b0fcb02f5fa 100644 Binary files a/docs/dev/.doctrees/sg_execution_times.doctree and b/docs/dev/.doctrees/sg_execution_times.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-1d/cta_sensitivity.doctree b/docs/dev/.doctrees/tutorials/analysis-1d/cta_sensitivity.doctree index e3c692f847d..ec4a6ebce8a 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-1d/cta_sensitivity.doctree and b/docs/dev/.doctrees/tutorials/analysis-1d/cta_sensitivity.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-1d/extended_source_spectral_analysis.doctree b/docs/dev/.doctrees/tutorials/analysis-1d/extended_source_spectral_analysis.doctree index d070ddab0fc..c4d8a0609e8 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-1d/extended_source_spectral_analysis.doctree and b/docs/dev/.doctrees/tutorials/analysis-1d/extended_source_spectral_analysis.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-1d/sed_fitting.doctree b/docs/dev/.doctrees/tutorials/analysis-1d/sed_fitting.doctree index 071ed389a15..aeb98f54bf0 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-1d/sed_fitting.doctree and b/docs/dev/.doctrees/tutorials/analysis-1d/sed_fitting.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-1d/sg_execution_times.doctree b/docs/dev/.doctrees/tutorials/analysis-1d/sg_execution_times.doctree index 112ee042a27..d94562ec853 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-1d/sg_execution_times.doctree and b/docs/dev/.doctrees/tutorials/analysis-1d/sg_execution_times.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis.doctree b/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis.doctree index b2bffeb2973..2dd829dea73 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis.doctree and b/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis_hli.doctree b/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis_hli.doctree index ee51ea6fc94..75a7c103ddb 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis_hli.doctree and b/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis_hli.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis_rad_max.doctree b/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis_rad_max.doctree index 37ea24e1bcb..b534d012b5c 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis_rad_max.doctree and b/docs/dev/.doctrees/tutorials/analysis-1d/spectral_analysis_rad_max.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-1d/spectrum_simulation.doctree b/docs/dev/.doctrees/tutorials/analysis-1d/spectrum_simulation.doctree index c59b78bff6c..3f2469de505 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-1d/spectrum_simulation.doctree and b/docs/dev/.doctrees/tutorials/analysis-1d/spectrum_simulation.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-2d/detect.doctree b/docs/dev/.doctrees/tutorials/analysis-2d/detect.doctree index f2d3c58f8b6..2cd583fd0f7 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-2d/detect.doctree and b/docs/dev/.doctrees/tutorials/analysis-2d/detect.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-2d/modeling_2D.doctree b/docs/dev/.doctrees/tutorials/analysis-2d/modeling_2D.doctree index d572a843718..0e55bb3c31e 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-2d/modeling_2D.doctree and b/docs/dev/.doctrees/tutorials/analysis-2d/modeling_2D.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-2d/ring_background.doctree b/docs/dev/.doctrees/tutorials/analysis-2d/ring_background.doctree index ceaa861e853..c67d51924a8 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-2d/ring_background.doctree and b/docs/dev/.doctrees/tutorials/analysis-2d/ring_background.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-2d/sg_execution_times.doctree b/docs/dev/.doctrees/tutorials/analysis-2d/sg_execution_times.doctree index 4e8d6557b47..460b4d758a7 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-2d/sg_execution_times.doctree and b/docs/dev/.doctrees/tutorials/analysis-2d/sg_execution_times.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-3d/analysis_3d.doctree b/docs/dev/.doctrees/tutorials/analysis-3d/analysis_3d.doctree index 39f817db832..d654f4d92b1 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-3d/analysis_3d.doctree and b/docs/dev/.doctrees/tutorials/analysis-3d/analysis_3d.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-3d/analysis_mwl.doctree b/docs/dev/.doctrees/tutorials/analysis-3d/analysis_mwl.doctree index 1811360bd69..d1d53675c0d 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-3d/analysis_mwl.doctree and b/docs/dev/.doctrees/tutorials/analysis-3d/analysis_mwl.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-3d/cta_data_analysis.doctree b/docs/dev/.doctrees/tutorials/analysis-3d/cta_data_analysis.doctree index 9aa1a0f985e..9b911f5cc8e 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-3d/cta_data_analysis.doctree and b/docs/dev/.doctrees/tutorials/analysis-3d/cta_data_analysis.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-3d/energy_dependent_estimation.doctree b/docs/dev/.doctrees/tutorials/analysis-3d/energy_dependent_estimation.doctree index bb0af5f09e8..28e4dbc5196 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-3d/energy_dependent_estimation.doctree and b/docs/dev/.doctrees/tutorials/analysis-3d/energy_dependent_estimation.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-3d/event_sampling.doctree b/docs/dev/.doctrees/tutorials/analysis-3d/event_sampling.doctree index d2eb6c9c6ad..bf5f3f9743f 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-3d/event_sampling.doctree and b/docs/dev/.doctrees/tutorials/analysis-3d/event_sampling.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-3d/event_sampling_nrg_depend_models.doctree b/docs/dev/.doctrees/tutorials/analysis-3d/event_sampling_nrg_depend_models.doctree index e1274e452e5..0e641b42e9a 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-3d/event_sampling_nrg_depend_models.doctree and b/docs/dev/.doctrees/tutorials/analysis-3d/event_sampling_nrg_depend_models.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-3d/flux_profiles.doctree b/docs/dev/.doctrees/tutorials/analysis-3d/flux_profiles.doctree index 0bde632457d..5856f94697f 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-3d/flux_profiles.doctree and b/docs/dev/.doctrees/tutorials/analysis-3d/flux_profiles.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-3d/sg_execution_times.doctree b/docs/dev/.doctrees/tutorials/analysis-3d/sg_execution_times.doctree index aab764ed73a..8f978a311df 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-3d/sg_execution_times.doctree and b/docs/dev/.doctrees/tutorials/analysis-3d/sg_execution_times.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-3d/simulate_3d.doctree b/docs/dev/.doctrees/tutorials/analysis-3d/simulate_3d.doctree index ee593485394..4413d38ffbb 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-3d/simulate_3d.doctree and b/docs/dev/.doctrees/tutorials/analysis-3d/simulate_3d.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-time/Variability_estimation.doctree b/docs/dev/.doctrees/tutorials/analysis-time/Variability_estimation.doctree index cb10dc42cdf..6ca6fcd9339 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-time/Variability_estimation.doctree and b/docs/dev/.doctrees/tutorials/analysis-time/Variability_estimation.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-time/light_curve.doctree b/docs/dev/.doctrees/tutorials/analysis-time/light_curve.doctree index 090da747449..25f349c343b 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-time/light_curve.doctree and b/docs/dev/.doctrees/tutorials/analysis-time/light_curve.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-time/light_curve_flare.doctree b/docs/dev/.doctrees/tutorials/analysis-time/light_curve_flare.doctree index 2a5acc75236..f263dcfd7d5 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-time/light_curve_flare.doctree and b/docs/dev/.doctrees/tutorials/analysis-time/light_curve_flare.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-time/light_curve_simulation.doctree b/docs/dev/.doctrees/tutorials/analysis-time/light_curve_simulation.doctree index e419a21c0d7..cc797ffe657 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-time/light_curve_simulation.doctree and b/docs/dev/.doctrees/tutorials/analysis-time/light_curve_simulation.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-time/pulsar_analysis.doctree b/docs/dev/.doctrees/tutorials/analysis-time/pulsar_analysis.doctree index 698c54daf86..995f72248e9 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-time/pulsar_analysis.doctree and b/docs/dev/.doctrees/tutorials/analysis-time/pulsar_analysis.doctree differ diff --git a/docs/dev/.doctrees/tutorials/analysis-time/sg_execution_times.doctree b/docs/dev/.doctrees/tutorials/analysis-time/sg_execution_times.doctree index 8f0cb495cbd..2cec1444aaa 100644 Binary files a/docs/dev/.doctrees/tutorials/analysis-time/sg_execution_times.doctree and b/docs/dev/.doctrees/tutorials/analysis-time/sg_execution_times.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/astro_dark_matter.doctree b/docs/dev/.doctrees/tutorials/api/astro_dark_matter.doctree index e2abb932580..bc9e69ed415 100644 Binary files a/docs/dev/.doctrees/tutorials/api/astro_dark_matter.doctree and b/docs/dev/.doctrees/tutorials/api/astro_dark_matter.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/catalog.doctree b/docs/dev/.doctrees/tutorials/api/catalog.doctree index 12902d862e8..9029c379f84 100644 Binary files a/docs/dev/.doctrees/tutorials/api/catalog.doctree and b/docs/dev/.doctrees/tutorials/api/catalog.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/datasets.doctree b/docs/dev/.doctrees/tutorials/api/datasets.doctree index 908ed256de1..855934eeafa 100644 Binary files a/docs/dev/.doctrees/tutorials/api/datasets.doctree and b/docs/dev/.doctrees/tutorials/api/datasets.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/fitting.doctree b/docs/dev/.doctrees/tutorials/api/fitting.doctree index 393ea8133b8..fb6586c416a 100644 Binary files a/docs/dev/.doctrees/tutorials/api/fitting.doctree and b/docs/dev/.doctrees/tutorials/api/fitting.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/makers.doctree b/docs/dev/.doctrees/tutorials/api/makers.doctree index 4c1cd275295..2f2ff92df5f 100644 Binary files a/docs/dev/.doctrees/tutorials/api/makers.doctree and b/docs/dev/.doctrees/tutorials/api/makers.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/maps.doctree b/docs/dev/.doctrees/tutorials/api/maps.doctree index 6c14cef9bb3..6098b5739ff 100644 Binary files a/docs/dev/.doctrees/tutorials/api/maps.doctree and b/docs/dev/.doctrees/tutorials/api/maps.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/mask_maps.doctree b/docs/dev/.doctrees/tutorials/api/mask_maps.doctree index ced18cea327..116bee9520a 100644 Binary files a/docs/dev/.doctrees/tutorials/api/mask_maps.doctree and b/docs/dev/.doctrees/tutorials/api/mask_maps.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/model_management.doctree b/docs/dev/.doctrees/tutorials/api/model_management.doctree index e6cae88b778..0b271d603c3 100644 Binary files a/docs/dev/.doctrees/tutorials/api/model_management.doctree and b/docs/dev/.doctrees/tutorials/api/model_management.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/models.doctree b/docs/dev/.doctrees/tutorials/api/models.doctree index fbff69615b4..1250e5f3dfb 100644 Binary files a/docs/dev/.doctrees/tutorials/api/models.doctree and b/docs/dev/.doctrees/tutorials/api/models.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/observation_clustering.doctree b/docs/dev/.doctrees/tutorials/api/observation_clustering.doctree index 9302d3d45c2..d7bdf7b5525 100644 Binary files a/docs/dev/.doctrees/tutorials/api/observation_clustering.doctree and b/docs/dev/.doctrees/tutorials/api/observation_clustering.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/priors.doctree b/docs/dev/.doctrees/tutorials/api/priors.doctree index 506779f6b6c..37b1459958d 100644 Binary files a/docs/dev/.doctrees/tutorials/api/priors.doctree and b/docs/dev/.doctrees/tutorials/api/priors.doctree differ diff --git a/docs/dev/.doctrees/tutorials/api/sg_execution_times.doctree b/docs/dev/.doctrees/tutorials/api/sg_execution_times.doctree index a8b81e3d8b7..5164c0e1a07 100644 Binary files a/docs/dev/.doctrees/tutorials/api/sg_execution_times.doctree and b/docs/dev/.doctrees/tutorials/api/sg_execution_times.doctree differ diff --git a/docs/dev/.doctrees/tutorials/data/cta.doctree b/docs/dev/.doctrees/tutorials/data/cta.doctree index 2cd11442781..d8ef6c989ae 100644 Binary files a/docs/dev/.doctrees/tutorials/data/cta.doctree and b/docs/dev/.doctrees/tutorials/data/cta.doctree differ diff --git a/docs/dev/.doctrees/tutorials/data/fermi_lat.doctree b/docs/dev/.doctrees/tutorials/data/fermi_lat.doctree index 9085d972bf9..8d8fc39cf1a 100644 Binary files a/docs/dev/.doctrees/tutorials/data/fermi_lat.doctree and b/docs/dev/.doctrees/tutorials/data/fermi_lat.doctree differ diff --git a/docs/dev/.doctrees/tutorials/data/hawc.doctree b/docs/dev/.doctrees/tutorials/data/hawc.doctree index 9114af52d71..24fca517347 100644 Binary files a/docs/dev/.doctrees/tutorials/data/hawc.doctree and b/docs/dev/.doctrees/tutorials/data/hawc.doctree differ diff --git a/docs/dev/.doctrees/tutorials/data/hess.doctree b/docs/dev/.doctrees/tutorials/data/hess.doctree index 20fdc3e4069..2dd456d524c 100644 Binary files a/docs/dev/.doctrees/tutorials/data/hess.doctree and b/docs/dev/.doctrees/tutorials/data/hess.doctree differ diff --git a/docs/dev/.doctrees/tutorials/data/sg_execution_times.doctree b/docs/dev/.doctrees/tutorials/data/sg_execution_times.doctree index aace7ebb5ec..8fbc0a8b76c 100644 Binary files a/docs/dev/.doctrees/tutorials/data/sg_execution_times.doctree and b/docs/dev/.doctrees/tutorials/data/sg_execution_times.doctree differ diff --git a/docs/dev/.doctrees/tutorials/scripts/sg_execution_times.doctree b/docs/dev/.doctrees/tutorials/scripts/sg_execution_times.doctree index e4fa13dfb38..01b964ded87 100644 Binary files a/docs/dev/.doctrees/tutorials/scripts/sg_execution_times.doctree and b/docs/dev/.doctrees/tutorials/scripts/sg_execution_times.doctree differ diff --git a/docs/dev/.doctrees/tutorials/starting/analysis_1.doctree b/docs/dev/.doctrees/tutorials/starting/analysis_1.doctree index 061ff325326..be208c2393c 100644 Binary files a/docs/dev/.doctrees/tutorials/starting/analysis_1.doctree and b/docs/dev/.doctrees/tutorials/starting/analysis_1.doctree differ diff --git a/docs/dev/.doctrees/tutorials/starting/analysis_2.doctree b/docs/dev/.doctrees/tutorials/starting/analysis_2.doctree index b5cae93a7ab..2b05f2997fa 100644 Binary files a/docs/dev/.doctrees/tutorials/starting/analysis_2.doctree and b/docs/dev/.doctrees/tutorials/starting/analysis_2.doctree differ diff --git a/docs/dev/.doctrees/tutorials/starting/overview.doctree b/docs/dev/.doctrees/tutorials/starting/overview.doctree index 791b97aa25a..98d7b4613e6 100644 Binary files a/docs/dev/.doctrees/tutorials/starting/overview.doctree and b/docs/dev/.doctrees/tutorials/starting/overview.doctree differ diff --git a/docs/dev/.doctrees/tutorials/starting/sg_execution_times.doctree b/docs/dev/.doctrees/tutorials/starting/sg_execution_times.doctree index 68a03b5d41c..e382fab1905 100644 Binary files a/docs/dev/.doctrees/tutorials/starting/sg_execution_times.doctree and b/docs/dev/.doctrees/tutorials/starting/sg_execution_times.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_constant.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_constant.doctree index 69aa2304fd2..0e77e75b76c 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_constant.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_constant.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_disk.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_disk.doctree index 7e95df3bccc..36083e0cbc7 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_disk.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_disk.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_gauss.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_gauss.doctree index 1a26a1e4089..125d873311c 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_gauss.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_gauss.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_gen_gauss.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_gen_gauss.doctree index f88f59648ea..1b3f59325b9 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_gen_gauss.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_gen_gauss.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_piecewise_norm_spatial.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_piecewise_norm_spatial.doctree index ce9f1f12305..8cec8d29bb6 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_piecewise_norm_spatial.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_piecewise_norm_spatial.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_point.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_point.doctree index 02f09f299ee..67a93e96e0d 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_point.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_point.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_shell.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_shell.doctree index bddf44b90ca..52dd88aa1cf 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_shell.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_shell.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_shell2.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_shell2.doctree index 60ccde2d93c..f7a5d5a9382 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_shell2.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_shell2.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_template.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_template.doctree index 98cc40b72d4..da34e2febc0 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_template.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spatial/plot_template.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spatial/sg_execution_times.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spatial/sg_execution_times.doctree index 702a903d302..e32cb6df7a0 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spatial/sg_execution_times.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spatial/sg_execution_times.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_absorbed.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_absorbed.doctree index 4e09f849078..3c9668adc5f 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_absorbed.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_absorbed.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_broken_powerlaw.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_broken_powerlaw.doctree index afb5191fd11..b5b554a500a 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_broken_powerlaw.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_broken_powerlaw.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_compound.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_compound.doctree index 4142bb5a958..18d5d14955e 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_compound.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_compound.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_constant_spectral.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_constant_spectral.doctree index a17ec796ee2..e648c642e02 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_constant_spectral.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_constant_spectral.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw.doctree index 7929515bb9f..24a858eff44 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_3fgl.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_3fgl.doctree index 6636cf59408..2123e3dbb80 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_3fgl.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_3fgl.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_norm_spectral.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_norm_spectral.doctree index ad65f74d2c5..8694bf23eff 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_norm_spectral.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_norm_spectral.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_gauss_spectral.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_gauss_spectral.doctree index a460bb4c383..fd1c8d262f4 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_gauss_spectral.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_gauss_spectral.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_logparabola.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_logparabola.doctree index 19a010b62ec..ea5ce959b59 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_logparabola.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_logparabola.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_logparabola_norm_spectral.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_logparabola_norm_spectral.doctree index 0ffab971e35..72f72c0ca77 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_logparabola_norm_spectral.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_logparabola_norm_spectral.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_naima.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_naima.doctree index e0d30756a45..d4387caf684 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_naima.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_naima.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_piecewise_norm_spectral.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_piecewise_norm_spectral.doctree index 8b723122482..1070edfa794 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_piecewise_norm_spectral.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_piecewise_norm_spectral.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw.doctree index 996c07a2f2d..3bd4435cd69 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw2.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw2.doctree index 2f16a5e99c1..457fcdf0c86 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw2.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw2.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw_norm_spectral.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw_norm_spectral.doctree index 1b7e787dffc..898488cbbe8 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw_norm_spectral.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_powerlaw_norm_spectral.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_smooth_broken_powerlaw.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_smooth_broken_powerlaw.doctree index adff55aca84..43b47fca8af 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_smooth_broken_powerlaw.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_smooth_broken_powerlaw.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_3fgl.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_3fgl.doctree index 712efa03d67..cddb1ed9f88 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_3fgl.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_3fgl.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl.doctree index 888e5b88c5a..f9f125d02d7 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl_dr1.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl_dr1.doctree index 9c28ab69b4d..accfc7581f3 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl_dr1.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl_dr1.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_template_spectral.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_template_spectral.doctree index 04b5b067b57..74b3611b2d7 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_template_spectral.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/plot_template_spectral.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/spectral/sg_execution_times.doctree b/docs/dev/.doctrees/user-guide/model-gallery/spectral/sg_execution_times.doctree index 4b98fdccd6c..d06d38918fc 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/spectral/sg_execution_times.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/spectral/sg_execution_times.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_constant_temporal.doctree b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_constant_temporal.doctree index e2a67d4dbdf..028e36a3157 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_constant_temporal.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_constant_temporal.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_expdecay_temporal.doctree b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_expdecay_temporal.doctree index 910a60d1c8c..4a307dae427 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_expdecay_temporal.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_expdecay_temporal.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_gaussian_temporal.doctree b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_gaussian_temporal.doctree index f4ee656a7fe..f6cbf0a4f62 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_gaussian_temporal.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_gaussian_temporal.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_generalized_gaussian_temporal.doctree b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_generalized_gaussian_temporal.doctree index f1548ef9cc9..a23d03e2f9f 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_generalized_gaussian_temporal.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_generalized_gaussian_temporal.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_linear_temporal.doctree b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_linear_temporal.doctree index f9847037162..603732dbe35 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_linear_temporal.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_linear_temporal.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_powerlaw_temporal.doctree b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_powerlaw_temporal.doctree index 902b4263f3f..04905aa6a5d 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_powerlaw_temporal.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_powerlaw_temporal.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_sine_temporal.doctree b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_sine_temporal.doctree index d2589756ca0..3f462f3e1da 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_sine_temporal.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_sine_temporal.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_template_phase_temporal.doctree b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_template_phase_temporal.doctree index 210656a01f8..9fd9ff91a7d 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_template_phase_temporal.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_template_phase_temporal.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_template_temporal.doctree b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_template_temporal.doctree index 2e061628b24..6981ca3560a 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_template_temporal.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/temporal/plot_template_temporal.doctree differ diff --git a/docs/dev/.doctrees/user-guide/model-gallery/temporal/sg_execution_times.doctree b/docs/dev/.doctrees/user-guide/model-gallery/temporal/sg_execution_times.doctree index 588401a9c93..49a4c44f097 100644 Binary files a/docs/dev/.doctrees/user-guide/model-gallery/temporal/sg_execution_times.doctree and b/docs/dev/.doctrees/user-guide/model-gallery/temporal/sg_execution_times.doctree differ diff --git a/docs/dev/_downloads/062bafee8fcb97ea6e8ccd016a8baf1e/plot_bkg_3d.pdf b/docs/dev/_downloads/062bafee8fcb97ea6e8ccd016a8baf1e/plot_bkg_3d.pdf index b573385a1a5..5670dc54a06 100644 Binary files a/docs/dev/_downloads/062bafee8fcb97ea6e8ccd016a8baf1e/plot_bkg_3d.pdf and b/docs/dev/_downloads/062bafee8fcb97ea6e8ccd016a8baf1e/plot_bkg_3d.pdf differ diff --git a/docs/dev/_downloads/068f4a465f9ece97104fde9df27a1c7b/model-gallery_jupyter.zip b/docs/dev/_downloads/068f4a465f9ece97104fde9df27a1c7b/model-gallery_jupyter.zip index 7f60503fba3..efab82cec6e 100644 Binary files a/docs/dev/_downloads/068f4a465f9ece97104fde9df27a1c7b/model-gallery_jupyter.zip and b/docs/dev/_downloads/068f4a465f9ece97104fde9df27a1c7b/model-gallery_jupyter.zip differ diff --git a/docs/dev/_downloads/10f1f97c8b6423f5cd3c3dd929ba1c7d/plot_stack.pdf b/docs/dev/_downloads/10f1f97c8b6423f5cd3c3dd929ba1c7d/plot_stack.pdf index 02e9c42e354..05320023c22 100644 Binary files a/docs/dev/_downloads/10f1f97c8b6423f5cd3c3dd929ba1c7d/plot_stack.pdf and b/docs/dev/_downloads/10f1f97c8b6423f5cd3c3dd929ba1c7d/plot_stack.pdf differ diff --git a/docs/dev/_downloads/16d6399e308f3f4937d0512c9c9dd023/plot_psf.pdf b/docs/dev/_downloads/16d6399e308f3f4937d0512c9c9dd023/plot_psf.pdf index 3c72872843b..e2d77e347b2 100644 Binary files a/docs/dev/_downloads/16d6399e308f3f4937d0512c9c9dd023/plot_psf.pdf and b/docs/dev/_downloads/16d6399e308f3f4937d0512c9c9dd023/plot_psf.pdf differ diff --git a/docs/dev/_downloads/191e39c4584da5619df61ef94dbf1770/plot_spiral_arms.hires.png b/docs/dev/_downloads/191e39c4584da5619df61ef94dbf1770/plot_spiral_arms.hires.png index f98f8d94a97..80bc7be8526 100644 Binary files a/docs/dev/_downloads/191e39c4584da5619df61ef94dbf1770/plot_spiral_arms.hires.png and b/docs/dev/_downloads/191e39c4584da5619df61ef94dbf1770/plot_spiral_arms.hires.png differ diff --git a/docs/dev/_downloads/26224d3995e07325df7f0b64d1681fb9/regionmap-1.pdf b/docs/dev/_downloads/26224d3995e07325df7f0b64d1681fb9/regionmap-1.pdf index 7bc3b937749..10deaf6eba6 100644 Binary files a/docs/dev/_downloads/26224d3995e07325df7f0b64d1681fb9/regionmap-1.pdf and b/docs/dev/_downloads/26224d3995e07325df7f0b64d1681fb9/regionmap-1.pdf differ diff --git a/docs/dev/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip b/docs/dev/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip index ed83ae1ab0b..dc7d09cfa0b 100644 Binary files a/docs/dev/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip and b/docs/dev/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip differ diff --git a/docs/dev/_downloads/432ee3a608125ae95df2e8d950f07716/dl3-1.pdf b/docs/dev/_downloads/432ee3a608125ae95df2e8d950f07716/dl3-1.pdf index 31d0098c70d..79630726f61 100644 Binary files a/docs/dev/_downloads/432ee3a608125ae95df2e8d950f07716/dl3-1.pdf and b/docs/dev/_downloads/432ee3a608125ae95df2e8d950f07716/dl3-1.pdf differ diff --git a/docs/dev/_downloads/4c5e33d8438fd5229f2e9205d79c47b5/create_region.pdf b/docs/dev/_downloads/4c5e33d8438fd5229f2e9205d79c47b5/create_region.pdf index a2061b65c81..cc9925cf294 100644 Binary files a/docs/dev/_downloads/4c5e33d8438fd5229f2e9205d79c47b5/create_region.pdf and b/docs/dev/_downloads/4c5e33d8438fd5229f2e9205d79c47b5/create_region.pdf differ diff --git a/docs/dev/_downloads/51d6cfa441dab374164568c0a25aafdf/plot_snr_radius_evolution.pdf b/docs/dev/_downloads/51d6cfa441dab374164568c0a25aafdf/plot_snr_radius_evolution.pdf index b855528b018..a2d2c0fcac7 100644 Binary files a/docs/dev/_downloads/51d6cfa441dab374164568c0a25aafdf/plot_snr_radius_evolution.pdf and b/docs/dev/_downloads/51d6cfa441dab374164568c0a25aafdf/plot_snr_radius_evolution.pdf differ diff --git a/docs/dev/_downloads/5375f8e9e54dd5a68d37e8a2fc4246b9/plot_spiral_arms.png b/docs/dev/_downloads/5375f8e9e54dd5a68d37e8a2fc4246b9/plot_spiral_arms.png index d08d2836261..d6c39a6261e 100644 Binary files a/docs/dev/_downloads/5375f8e9e54dd5a68d37e8a2fc4246b9/plot_spiral_arms.png and b/docs/dev/_downloads/5375f8e9e54dd5a68d37e8a2fc4246b9/plot_spiral_arms.png differ diff --git a/docs/dev/_downloads/73e595818811c6987149d60742eef584/make_reflected_regions.pdf b/docs/dev/_downloads/73e595818811c6987149d60742eef584/make_reflected_regions.pdf index f40ab05779d..a713825a39e 100644 Binary files a/docs/dev/_downloads/73e595818811c6987149d60742eef584/make_reflected_regions.pdf and b/docs/dev/_downloads/73e595818811c6987149d60742eef584/make_reflected_regions.pdf differ diff --git a/docs/dev/_downloads/73e7de11148f573eeb51f279652f7b9b/make_rectangular_reflected_background.pdf b/docs/dev/_downloads/73e7de11148f573eeb51f279652f7b9b/make_rectangular_reflected_background.pdf index 9d52a7b56d1..05a1be94265 100644 Binary files a/docs/dev/_downloads/73e7de11148f573eeb51f279652f7b9b/make_rectangular_reflected_background.pdf and b/docs/dev/_downloads/73e7de11148f573eeb51f279652f7b9b/make_rectangular_reflected_background.pdf differ diff --git a/docs/dev/_downloads/74468ce448910c5a873be0e51cee13fb/plot_pwn_evolution.pdf b/docs/dev/_downloads/74468ce448910c5a873be0e51cee13fb/plot_pwn_evolution.pdf index 20f07715495..b6ff736b1ef 100644 Binary files a/docs/dev/_downloads/74468ce448910c5a873be0e51cee13fb/plot_pwn_evolution.pdf and b/docs/dev/_downloads/74468ce448910c5a873be0e51cee13fb/plot_pwn_evolution.pdf differ diff --git a/docs/dev/_downloads/800707065c222d9fe3c88a38845901ae/regionmap-2.pdf b/docs/dev/_downloads/800707065c222d9fe3c88a38845901ae/regionmap-2.pdf index d103b3c5653..0162f2877ac 100644 Binary files a/docs/dev/_downloads/800707065c222d9fe3c88a38845901ae/regionmap-2.pdf and b/docs/dev/_downloads/800707065c222d9fe3c88a38845901ae/regionmap-2.pdf differ diff --git a/docs/dev/_downloads/83da3445f53cc2258537f3ea6b2b0970/regionmap-5.pdf b/docs/dev/_downloads/83da3445f53cc2258537f3ea6b2b0970/regionmap-5.pdf index f7b6f5df228..3ab77ceb95b 100644 Binary files a/docs/dev/_downloads/83da3445f53cc2258537f3ea6b2b0970/regionmap-5.pdf and b/docs/dev/_downloads/83da3445f53cc2258537f3ea6b2b0970/regionmap-5.pdf differ diff --git a/docs/dev/_downloads/84424d59ec624940199b69d87a792d50/index-1.pdf b/docs/dev/_downloads/84424d59ec624940199b69d87a792d50/index-1.pdf index 10c1aac68c2..cd3ad819c3b 100644 Binary files a/docs/dev/_downloads/84424d59ec624940199b69d87a792d50/index-1.pdf and b/docs/dev/_downloads/84424d59ec624940199b69d87a792d50/index-1.pdf differ diff --git a/docs/dev/_downloads/8a9ae62d4481bef2294fabff4afc70cf/gammapy-irf-EnergyDependentMultiGaussPSF-1.pdf b/docs/dev/_downloads/8a9ae62d4481bef2294fabff4afc70cf/gammapy-irf-EnergyDependentMultiGaussPSF-1.pdf index 1ebd4e9f68b..98f7139fc9c 100644 Binary files a/docs/dev/_downloads/8a9ae62d4481bef2294fabff4afc70cf/gammapy-irf-EnergyDependentMultiGaussPSF-1.pdf and b/docs/dev/_downloads/8a9ae62d4481bef2294fabff4afc70cf/gammapy-irf-EnergyDependentMultiGaussPSF-1.pdf differ diff --git a/docs/dev/_downloads/8d795d04d6c1419b268a0a4676041f36/model-gallery_python.zip b/docs/dev/_downloads/8d795d04d6c1419b268a0a4676041f36/model-gallery_python.zip index 1dbde384db0..af74567a026 100644 Binary files a/docs/dev/_downloads/8d795d04d6c1419b268a0a4676041f36/model-gallery_python.zip and b/docs/dev/_downloads/8d795d04d6c1419b268a0a4676041f36/model-gallery_python.zip differ diff --git a/docs/dev/_downloads/8f7cba6e147ac68586bc14a007ba4cc5/plot_spiral_arms.pdf b/docs/dev/_downloads/8f7cba6e147ac68586bc14a007ba4cc5/plot_spiral_arms.pdf index 03bfd522f5b..ef05c9ad8cb 100644 Binary files a/docs/dev/_downloads/8f7cba6e147ac68586bc14a007ba4cc5/plot_spiral_arms.pdf and b/docs/dev/_downloads/8f7cba6e147ac68586bc14a007ba4cc5/plot_spiral_arms.pdf differ diff --git a/docs/dev/_downloads/90e01209a5243d5c972882c04584c8e3/plot_aeff_param.pdf b/docs/dev/_downloads/90e01209a5243d5c972882c04584c8e3/plot_aeff_param.pdf index 1cb4c08f169..d6c292a7f6f 100644 Binary files a/docs/dev/_downloads/90e01209a5243d5c972882c04584c8e3/plot_aeff_param.pdf and b/docs/dev/_downloads/90e01209a5243d5c972882c04584c8e3/plot_aeff_param.pdf differ diff --git a/docs/dev/_downloads/9784111b1a9a5c8f07b727039a6e8b82/plot_radial_distributions.pdf b/docs/dev/_downloads/9784111b1a9a5c8f07b727039a6e8b82/plot_radial_distributions.pdf index 0f807fc8311..721ea6542b4 100644 Binary files a/docs/dev/_downloads/9784111b1a9a5c8f07b727039a6e8b82/plot_radial_distributions.pdf and b/docs/dev/_downloads/9784111b1a9a5c8f07b727039a6e8b82/plot_radial_distributions.pdf differ diff --git a/docs/dev/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip b/docs/dev/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip index 908aa091417..a612ea8e2fc 100644 Binary files a/docs/dev/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip and b/docs/dev/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip differ diff --git a/docs/dev/_downloads/a5b2ee0329e727a4750cc6807854a799/plot_snr_brightness_evolution.pdf b/docs/dev/_downloads/a5b2ee0329e727a4750cc6807854a799/plot_snr_brightness_evolution.pdf index 79675366b75..128997ee393 100644 Binary files a/docs/dev/_downloads/a5b2ee0329e727a4750cc6807854a799/plot_snr_brightness_evolution.pdf and b/docs/dev/_downloads/a5b2ee0329e727a4750cc6807854a799/plot_snr_brightness_evolution.pdf differ diff --git a/docs/dev/_downloads/a60ac3367f6b8b4daf62f7767737c935/regionmap-3.pdf b/docs/dev/_downloads/a60ac3367f6b8b4daf62f7767737c935/regionmap-3.pdf index ed226dde8ed..58a061b15c9 100644 Binary files a/docs/dev/_downloads/a60ac3367f6b8b4daf62f7767737c935/regionmap-3.pdf and b/docs/dev/_downloads/a60ac3367f6b8b4daf62f7767737c935/regionmap-3.pdf differ diff --git a/docs/dev/_downloads/a647e703f1c14b3b2be137109a402268/plot_wstat_significance.pdf b/docs/dev/_downloads/a647e703f1c14b3b2be137109a402268/plot_wstat_significance.pdf index 878beda33c0..cc70ec0aad1 100644 Binary files a/docs/dev/_downloads/a647e703f1c14b3b2be137109a402268/plot_wstat_significance.pdf and b/docs/dev/_downloads/a647e703f1c14b3b2be137109a402268/plot_wstat_significance.pdf differ diff --git a/docs/dev/_downloads/ac30ac3c375ddb5b0d1e27c90650e55b/spectral_analysis.ipynb b/docs/dev/_downloads/ac30ac3c375ddb5b0d1e27c90650e55b/spectral_analysis.ipynb index fc9f652c53f..dc85baa8895 100644 --- a/docs/dev/_downloads/ac30ac3c375ddb5b0d1e27c90650e55b/spectral_analysis.ipynb +++ b/docs/dev/_downloads/ac30ac3c375ddb5b0d1e27c90650e55b/spectral_analysis.ipynb @@ -317,7 +317,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Compute Flux Points\n\nTo round up our analysis we can compute flux points by fitting the norm\nof the global model in energy bands.\nWe can utilise the `~gammapy.estimators.utils.resample_energy_edges`\nfor defining the energy bins in which the minimum number of `sqrt_ts` is 2.\nTo do so we first stack the individual datasets, only for obtaining the energies:\n\n\n" + "## Compute Flux Points\n\nTo round up our analysis we can compute flux points by fitting the norm\nof the global model in energy bands.\nWe create an instance of the\n`~gammapy.estimators.FluxPointsEstimator`, by passing the dataset and\nthe energy binning:\n\n\n" ] }, { @@ -328,25 +328,7 @@ }, "outputs": [], "source": [ - "dataset_stacked = Datasets(datasets).stack_reduce()\nenergy_edges = resample_energy_edges(dataset_stacked, conditions={\"sqrt_ts_min\": 2})" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Now we create an instance of the\n`~gammapy.estimators.FluxPointsEstimator`, by passing the dataset and\nthe energy binning:\n\n\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "collapsed": false - }, - "outputs": [], - "source": [ - "fpe = FluxPointsEstimator(\n energy_edges=energy_edges, source=\"crab\", selection_optional=\"all\"\n)\nflux_points = fpe.run(datasets=datasets)" + "fpe = FluxPointsEstimator(\n energy_edges=energy_axis.edges, source=\"crab\", selection_optional=\"all\"\n)\nflux_points = fpe.run(datasets=datasets)" ] }, { @@ -382,7 +364,7 @@ }, "outputs": [], "source": [ - "fig, ax = plt.subplots()\nflux_points.plot(ax=ax, sed_type=\"e2dnde\", color=\"darkorange\")\nflux_points.plot_ts_profiles(ax=ax, sed_type=\"e2dnde\")\nplt.show()" + "fig, ax = plt.subplots()\nflux_points.plot(ax=ax, sed_type=\"e2dnde\", color=\"darkorange\")\nflux_points.plot_ts_profiles(ax=ax, sed_type=\"e2dnde\")\nax.set_xlim(0.6, 40)\nplt.show()" ] }, { @@ -407,7 +389,7 @@ }, "outputs": [], "source": [ - "flux_points_dataset = FluxPointsDataset(data=flux_points, models=model_best_joint)\nflux_points_dataset.plot_fit()\nplt.show()" + "flux_points_dataset = FluxPointsDataset(\n data=flux_points, models=model_best_joint.copy()\n)\nax, _ = flux_points_dataset.plot_fit()\nax.set_xlim(0.6, 40)\nplt.show()" ] }, { @@ -482,6 +464,35 @@ "fig, ax = plt.subplots()\n\nplot_kwargs = {\n \"energy_bounds\": [0.1, 30] * u.TeV,\n \"sed_type\": \"e2dnde\",\n \"yunits\": u.Unit(\"erg cm-2 s-1\"),\n \"ax\": ax,\n}\n\n# plot stacked model\nmodel_best_stacked.spectral_model.plot(**plot_kwargs, label=\"Stacked analysis result\")\nmodel_best_stacked.spectral_model.plot_error(facecolor=\"blue\", alpha=0.3, **plot_kwargs)\n\n# plot joint model\nmodel_best_joint.spectral_model.plot(\n **plot_kwargs, label=\"Joint analysis result\", ls=\"--\"\n)\nmodel_best_joint.spectral_model.plot_error(facecolor=\"orange\", alpha=0.3, **plot_kwargs)\n\ncreate_crab_spectral_model(\"hess_ecpl\").plot(\n **plot_kwargs,\n label=\"Crab reference\",\n)\nax.legend()\nplt.show()\n\n# sphinx_gallery_thumbnail_number = 5" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## A note on statistics\n\nDifferent statistic are available for the FluxPointDataset :\n* chi2 : estimate from chi2 statistics.\n* profile : estimate from interpolation of the likelihood profile.\n* distrib : estimate from probability distributions,\n assuming that flux points correspond to asymmetric gaussians\n and upper limits complementary error functions.\nDefault is `chi2`, in that case upper limits are ignored and the mean of asymetrics error is used.\nSo it is recommended to use `profile` if `stat_scan` is available on flux points.\nThe `distrib` case provides an approximation if the `profile` is not available\nwhich allows to take into accounts upper limit and asymetrics error.\n\nIn the example below we can see that the `profile` case matches exactly the result\nfrom the joint analysis of the ON/OFF datasets using `wstat` (as labelled).\n\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "def plot_stat(fp_dataset):\n fig, ax = plt.subplots()\n\n plot_kwargs = {\n \"energy_bounds\": [0.1, 30] * u.TeV,\n \"sed_type\": \"e2dnde\",\n \"ax\": ax,\n }\n\n fp_dataset.data.plot(energy_power=2, ax=ax)\n model_best_joint.spectral_model.plot(\n color=\"b\", lw=0.5, **plot_kwargs, label=\"wstat\"\n )\n\n stat_types = [\"chi2\", \"profile\", \"distrib\"]\n colors = [\"red\", \"g\", \"c\"]\n lss = [\"--\", \":\", \"--\"]\n\n for ks, stat in enumerate(stat_types):\n\n fp_dataset.stat_type = stat\n\n fit = Fit()\n fit.run([fp_dataset])\n\n fp_dataset.models[0].spectral_model.plot(\n color=colors[ks], ls=lss[ks], **plot_kwargs, label=stat\n )\n fp_dataset.models[0].spectral_model.plot_error(\n facecolor=colors[ks], **plot_kwargs\n )\n plt.legend()\n\n\nplot_stat(flux_points_dataset)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "# In order to avoid discrepancies due to the treatment of upper limits\n# we can utilise the `~gammapy.estimators.utils.resample_energy_edges`\n# for defining energy bins in which the minimum number of `sqrt_ts` is 2.\n# In that case all the statistics definitions give equivalent results.\n#\n\nenergy_edges = resample_energy_edges(dataset_stacked, conditions={\"sqrt_ts_min\": 2})\n\nfpe_no_ul = FluxPointsEstimator(\n energy_edges=energy_edges, source=\"crab\", selection_optional=\"all\"\n)\nflux_points_no_ul = fpe_no_ul.run(datasets=datasets)\nflux_points_dataset_no_ul = FluxPointsDataset(\n data=flux_points_no_ul,\n models=model_best_joint.copy(),\n)\n\nplot_stat(flux_points_dataset_no_ul)" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/docs/dev/_downloads/bfe6aa14bdebe4f65370b05f400755e5/plot_cash_significance.pdf b/docs/dev/_downloads/bfe6aa14bdebe4f65370b05f400755e5/plot_cash_significance.pdf index 5c6f7d5232c..ef7daedaf0b 100644 Binary files a/docs/dev/_downloads/bfe6aa14bdebe4f65370b05f400755e5/plot_cash_significance.pdf and b/docs/dev/_downloads/bfe6aa14bdebe4f65370b05f400755e5/plot_cash_significance.pdf differ diff --git a/docs/dev/_downloads/c2775618fc6e3f5a7b28e723a9132470/plot_aeff.pdf b/docs/dev/_downloads/c2775618fc6e3f5a7b28e723a9132470/plot_aeff.pdf index a6aac6aed26..a33be60d7e5 100644 Binary files a/docs/dev/_downloads/c2775618fc6e3f5a7b28e723a9132470/plot_aeff.pdf and b/docs/dev/_downloads/c2775618fc6e3f5a7b28e723a9132470/plot_aeff.pdf differ diff --git a/docs/dev/_downloads/c2b61900ea448b3f1bbacb5848c7ae6e/plot_pulsar_spindown.pdf b/docs/dev/_downloads/c2b61900ea448b3f1bbacb5848c7ae6e/plot_pulsar_spindown.pdf index c9a8b8fd983..4ae2dbcd9eb 100644 Binary files a/docs/dev/_downloads/c2b61900ea448b3f1bbacb5848c7ae6e/plot_pulsar_spindown.pdf and b/docs/dev/_downloads/c2b61900ea448b3f1bbacb5848c7ae6e/plot_pulsar_spindown.pdf differ diff --git a/docs/dev/_downloads/c6bad13b7bd034ce07497e4d5025d5d2/edisp-1.pdf b/docs/dev/_downloads/c6bad13b7bd034ce07497e4d5025d5d2/edisp-1.pdf index 26b5ac90b3b..388e71907aa 100644 Binary files a/docs/dev/_downloads/c6bad13b7bd034ce07497e4d5025d5d2/edisp-1.pdf and b/docs/dev/_downloads/c6bad13b7bd034ce07497e4d5025d5d2/edisp-1.pdf differ diff --git a/docs/dev/_downloads/c8dacdfbdf94c97cce7a5ee9555295b5/plot_cash_errors.pdf b/docs/dev/_downloads/c8dacdfbdf94c97cce7a5ee9555295b5/plot_cash_errors.pdf index e8460dcd725..1eb89bc29f2 100644 Binary files a/docs/dev/_downloads/c8dacdfbdf94c97cce7a5ee9555295b5/plot_cash_errors.pdf and b/docs/dev/_downloads/c8dacdfbdf94c97cce7a5ee9555295b5/plot_cash_errors.pdf differ diff --git a/docs/dev/_downloads/d46f4cc1fb54f9148150a46cabce732a/plot_spiral_arm_models.pdf b/docs/dev/_downloads/d46f4cc1fb54f9148150a46cabce732a/plot_spiral_arm_models.pdf index 1747272af4d..2676ee8a58c 100644 Binary files a/docs/dev/_downloads/d46f4cc1fb54f9148150a46cabce732a/plot_spiral_arm_models.pdf and b/docs/dev/_downloads/d46f4cc1fb54f9148150a46cabce732a/plot_spiral_arm_models.pdf differ diff --git a/docs/dev/_downloads/d47b4b3bccd5fc1699bbc9406a3c4035/plot_edisp.pdf b/docs/dev/_downloads/d47b4b3bccd5fc1699bbc9406a3c4035/plot_edisp.pdf index 79e865cf1c8..e2762ad7621 100644 Binary files a/docs/dev/_downloads/d47b4b3bccd5fc1699bbc9406a3c4035/plot_edisp.pdf and b/docs/dev/_downloads/d47b4b3bccd5fc1699bbc9406a3c4035/plot_edisp.pdf differ diff --git a/docs/dev/_downloads/e0a543cc50809937467ce947bbbfc283/spectral_analysis.py b/docs/dev/_downloads/e0a543cc50809937467ce947bbbfc283/spectral_analysis.py index 0022b26772e..5ef9f5a6494 100644 --- a/docs/dev/_downloads/e0a543cc50809937467ce947bbbfc283/spectral_analysis.py +++ b/docs/dev/_downloads/e0a543cc50809937467ce947bbbfc283/spectral_analysis.py @@ -380,23 +380,13 @@ # # To round up our analysis we can compute flux points by fitting the norm # of the global model in energy bands. -# We can utilise the `~gammapy.estimators.utils.resample_energy_edges` -# for defining the energy bins in which the minimum number of `sqrt_ts` is 2. -# To do so we first stack the individual datasets, only for obtaining the energies: -# - -dataset_stacked = Datasets(datasets).stack_reduce() -energy_edges = resample_energy_edges(dataset_stacked, conditions={"sqrt_ts_min": 2}) - - -###################################################################### -# Now we create an instance of the +# We create an instance of the # `~gammapy.estimators.FluxPointsEstimator`, by passing the dataset and # the energy binning: # fpe = FluxPointsEstimator( - energy_edges=energy_edges, source="crab", selection_optional="all" + energy_edges=energy_axis.edges, source="crab", selection_optional="all" ) flux_points = fpe.run(datasets=datasets) @@ -416,6 +406,7 @@ fig, ax = plt.subplots() flux_points.plot(ax=ax, sed_type="e2dnde", color="darkorange") flux_points.plot_ts_profiles(ax=ax, sed_type="e2dnde") +ax.set_xlim(0.6, 40) plt.show() ###################################################################### @@ -430,8 +421,11 @@ # quickly made like this: # -flux_points_dataset = FluxPointsDataset(data=flux_points, models=model_best_joint) -flux_points_dataset.plot_fit() +flux_points_dataset = FluxPointsDataset( + data=flux_points, models=model_best_joint.copy() +) +ax, _ = flux_points_dataset.plot_fit() +ax.set_xlim(0.6, 40) plt.show() @@ -503,6 +497,82 @@ # sphinx_gallery_thumbnail_number = 5 +###################################################################### +# A note on statistics +# -------------------- +# +# Different statistic are available for the FluxPointDataset : +# * chi2 : estimate from chi2 statistics. +# * profile : estimate from interpolation of the likelihood profile. +# * distrib : estimate from probability distributions, +# assuming that flux points correspond to asymmetric gaussians +# and upper limits complementary error functions. +# Default is `chi2`, in that case upper limits are ignored and the mean of asymetrics error is used. +# So it is recommended to use `profile` if `stat_scan` is available on flux points. +# The `distrib` case provides an approximation if the `profile` is not available +# which allows to take into accounts upper limit and asymetrics error. +# +# In the example below we can see that the `profile` case matches exactly the result +# from the joint analysis of the ON/OFF datasets using `wstat` (as labelled). + + +def plot_stat(fp_dataset): + fig, ax = plt.subplots() + + plot_kwargs = { + "energy_bounds": [0.1, 30] * u.TeV, + "sed_type": "e2dnde", + "ax": ax, + } + + fp_dataset.data.plot(energy_power=2, ax=ax) + model_best_joint.spectral_model.plot( + color="b", lw=0.5, **plot_kwargs, label="wstat" + ) + + stat_types = ["chi2", "profile", "distrib"] + colors = ["red", "g", "c"] + lss = ["--", ":", "--"] + + for ks, stat in enumerate(stat_types): + + fp_dataset.stat_type = stat + + fit = Fit() + fit.run([fp_dataset]) + + fp_dataset.models[0].spectral_model.plot( + color=colors[ks], ls=lss[ks], **plot_kwargs, label=stat + ) + fp_dataset.models[0].spectral_model.plot_error( + facecolor=colors[ks], **plot_kwargs + ) + plt.legend() + + +plot_stat(flux_points_dataset) + +###################################################################### + +# In order to avoid discrepancies due to the treatment of upper limits +# we can utilise the `~gammapy.estimators.utils.resample_energy_edges` +# for defining energy bins in which the minimum number of `sqrt_ts` is 2. +# In that case all the statistics definitions give equivalent results. +# + +energy_edges = resample_energy_edges(dataset_stacked, conditions={"sqrt_ts_min": 2}) + +fpe_no_ul = FluxPointsEstimator( + energy_edges=energy_edges, source="crab", selection_optional="all" +) +flux_points_no_ul = fpe_no_ul.run(datasets=datasets) +flux_points_dataset_no_ul = FluxPointsDataset( + data=flux_points_no_ul, + models=model_best_joint.copy(), +) + +plot_stat(flux_points_dataset_no_ul) + ###################################################################### # Exercises # --------- diff --git a/docs/dev/_downloads/e8a68734048b7e0ceca7060951d52b8d/regionmap-4.pdf b/docs/dev/_downloads/e8a68734048b7e0ceca7060951d52b8d/regionmap-4.pdf index 1a596bf8b9f..4161dad1987 100644 Binary files a/docs/dev/_downloads/e8a68734048b7e0ceca7060951d52b8d/regionmap-4.pdf and b/docs/dev/_downloads/e8a68734048b7e0ceca7060951d52b8d/regionmap-4.pdf differ diff --git a/docs/dev/_downloads/e91c6a55acd94e0e8b0019a37008ed49/plot_wstat_errors.pdf b/docs/dev/_downloads/e91c6a55acd94e0e8b0019a37008ed49/plot_wstat_errors.pdf index 1fbb95f7fc3..852ab15e618 100644 Binary files a/docs/dev/_downloads/e91c6a55acd94e0e8b0019a37008ed49/plot_wstat_errors.pdf and b/docs/dev/_downloads/e91c6a55acd94e0e8b0019a37008ed49/plot_wstat_errors.pdf differ diff --git a/docs/dev/_downloads/ebd45185ed3e93103504e3303364e3ef/plot_velocity_distributions.pdf b/docs/dev/_downloads/ebd45185ed3e93103504e3303364e3ef/plot_velocity_distributions.pdf index f1518f61bf8..e811d577867 100644 Binary files a/docs/dev/_downloads/ebd45185ed3e93103504e3303364e3ef/plot_velocity_distributions.pdf and b/docs/dev/_downloads/ebd45185ed3e93103504e3303364e3ef/plot_velocity_distributions.pdf differ diff --git a/docs/dev/_downloads/f48159f5f5e15c2ab4d4c84f71fb7688/plot_edisp_kernel_param.pdf b/docs/dev/_downloads/f48159f5f5e15c2ab4d4c84f71fb7688/plot_edisp_kernel_param.pdf index 9572e345c24..9f4b03c9abb 100644 Binary files a/docs/dev/_downloads/f48159f5f5e15c2ab4d4c84f71fb7688/plot_edisp_kernel_param.pdf and b/docs/dev/_downloads/f48159f5f5e15c2ab4d4c84f71fb7688/plot_edisp_kernel_param.pdf differ diff --git a/docs/dev/_downloads/f5a9665c6b3d034a7c33a9ef624a6185/plot_edisp_kernel.pdf b/docs/dev/_downloads/f5a9665c6b3d034a7c33a9ef624a6185/plot_edisp_kernel.pdf index 97e82c6dd12..fa85f7b83f1 100644 Binary files a/docs/dev/_downloads/f5a9665c6b3d034a7c33a9ef624a6185/plot_edisp_kernel.pdf and b/docs/dev/_downloads/f5a9665c6b3d034a7c33a9ef624a6185/plot_edisp_kernel.pdf differ diff --git a/docs/dev/_downloads/fc59bdccd0cfc40136461f8aea2aa6fe/colormap_example.pdf b/docs/dev/_downloads/fc59bdccd0cfc40136461f8aea2aa6fe/colormap_example.pdf index 32cf065e634..36c15d7a3ce 100644 Binary files a/docs/dev/_downloads/fc59bdccd0cfc40136461f8aea2aa6fe/colormap_example.pdf and b/docs/dev/_downloads/fc59bdccd0cfc40136461f8aea2aa6fe/colormap_example.pdf differ diff --git a/docs/dev/_images/plot_spiral_arms.png b/docs/dev/_images/plot_spiral_arms.png index d08d2836261..d6c39a6261e 100644 Binary files a/docs/dev/_images/plot_spiral_arms.png and b/docs/dev/_images/plot_spiral_arms.png differ diff --git a/docs/dev/_images/sphx_glr_light_curve_simulation_001.png b/docs/dev/_images/sphx_glr_light_curve_simulation_001.png index 5a52d0d8f4f..aeebb597fe8 100644 Binary files a/docs/dev/_images/sphx_glr_light_curve_simulation_001.png and b/docs/dev/_images/sphx_glr_light_curve_simulation_001.png differ diff --git a/docs/dev/_images/sphx_glr_light_curve_simulation_002.png b/docs/dev/_images/sphx_glr_light_curve_simulation_002.png index ef766a85073..e20a28b6cfd 100644 Binary files a/docs/dev/_images/sphx_glr_light_curve_simulation_002.png and b/docs/dev/_images/sphx_glr_light_curve_simulation_002.png differ diff --git a/docs/dev/_images/sphx_glr_light_curve_simulation_thumb.png b/docs/dev/_images/sphx_glr_light_curve_simulation_thumb.png index 03c99cd40fa..9b7b396436f 100644 Binary files a/docs/dev/_images/sphx_glr_light_curve_simulation_thumb.png and b/docs/dev/_images/sphx_glr_light_curve_simulation_thumb.png differ diff --git a/docs/dev/_images/sphx_glr_plot_constant_temporal_001.png b/docs/dev/_images/sphx_glr_plot_constant_temporal_001.png index 5781c68854c..5ba2e57625e 100644 Binary files a/docs/dev/_images/sphx_glr_plot_constant_temporal_001.png and b/docs/dev/_images/sphx_glr_plot_constant_temporal_001.png differ diff --git a/docs/dev/_images/sphx_glr_plot_constant_temporal_thumb.png b/docs/dev/_images/sphx_glr_plot_constant_temporal_thumb.png index d6ba89f1e2b..8772d3f2b5b 100644 Binary files a/docs/dev/_images/sphx_glr_plot_constant_temporal_thumb.png and b/docs/dev/_images/sphx_glr_plot_constant_temporal_thumb.png differ diff --git a/docs/dev/_images/sphx_glr_plot_linear_temporal_001.png b/docs/dev/_images/sphx_glr_plot_linear_temporal_001.png index ae1bba5e108..f79d88e3400 100644 Binary files a/docs/dev/_images/sphx_glr_plot_linear_temporal_001.png and b/docs/dev/_images/sphx_glr_plot_linear_temporal_001.png differ diff --git a/docs/dev/_images/sphx_glr_plot_linear_temporal_thumb.png b/docs/dev/_images/sphx_glr_plot_linear_temporal_thumb.png index 73e3f2de057..a3d4f1c6d6a 100644 Binary files a/docs/dev/_images/sphx_glr_plot_linear_temporal_thumb.png and b/docs/dev/_images/sphx_glr_plot_linear_temporal_thumb.png differ diff --git a/docs/dev/_images/sphx_glr_plot_powerlaw_temporal_001.png b/docs/dev/_images/sphx_glr_plot_powerlaw_temporal_001.png index d4f6983f1d2..45d9482af70 100644 Binary files a/docs/dev/_images/sphx_glr_plot_powerlaw_temporal_001.png and b/docs/dev/_images/sphx_glr_plot_powerlaw_temporal_001.png differ diff --git a/docs/dev/_images/sphx_glr_plot_powerlaw_temporal_thumb.png b/docs/dev/_images/sphx_glr_plot_powerlaw_temporal_thumb.png index d1a15a13140..bb611882af0 100644 Binary files a/docs/dev/_images/sphx_glr_plot_powerlaw_temporal_thumb.png and b/docs/dev/_images/sphx_glr_plot_powerlaw_temporal_thumb.png differ diff --git a/docs/dev/_images/sphx_glr_plot_sine_temporal_001.png b/docs/dev/_images/sphx_glr_plot_sine_temporal_001.png index 291aa0fbace..975dcc991a4 100644 Binary files a/docs/dev/_images/sphx_glr_plot_sine_temporal_001.png and b/docs/dev/_images/sphx_glr_plot_sine_temporal_001.png differ diff --git a/docs/dev/_images/sphx_glr_plot_sine_temporal_thumb.png b/docs/dev/_images/sphx_glr_plot_sine_temporal_thumb.png index 23f3c90293e..a8092a2ed6c 100644 Binary files a/docs/dev/_images/sphx_glr_plot_sine_temporal_thumb.png and b/docs/dev/_images/sphx_glr_plot_sine_temporal_thumb.png differ diff --git a/docs/dev/_images/sphx_glr_priors_002.png b/docs/dev/_images/sphx_glr_priors_002.png index 11862eefb7f..9f3866a7b25 100644 Binary files a/docs/dev/_images/sphx_glr_priors_002.png and b/docs/dev/_images/sphx_glr_priors_002.png differ diff --git a/docs/dev/_images/sphx_glr_priors_004.png b/docs/dev/_images/sphx_glr_priors_004.png index b1d09716832..ff4b5134bb1 100644 Binary files a/docs/dev/_images/sphx_glr_priors_004.png and b/docs/dev/_images/sphx_glr_priors_004.png differ diff --git a/docs/dev/_images/sphx_glr_simulate_3d_001.png b/docs/dev/_images/sphx_glr_simulate_3d_001.png index 7a8f4152723..1d45e041ca0 100644 Binary files a/docs/dev/_images/sphx_glr_simulate_3d_001.png and b/docs/dev/_images/sphx_glr_simulate_3d_001.png differ diff --git a/docs/dev/_images/sphx_glr_simulate_3d_002.png b/docs/dev/_images/sphx_glr_simulate_3d_002.png index e7ec24d234f..d2c40a052b0 100644 Binary files a/docs/dev/_images/sphx_glr_simulate_3d_002.png and b/docs/dev/_images/sphx_glr_simulate_3d_002.png differ diff --git a/docs/dev/_images/sphx_glr_simulate_3d_thumb.png b/docs/dev/_images/sphx_glr_simulate_3d_thumb.png index 99a6f390aac..46539d2ac89 100644 Binary files a/docs/dev/_images/sphx_glr_simulate_3d_thumb.png and b/docs/dev/_images/sphx_glr_simulate_3d_thumb.png differ diff --git a/docs/dev/_images/sphx_glr_spectral_analysis_005.png b/docs/dev/_images/sphx_glr_spectral_analysis_005.png index 31e597a15af..8324388d5d7 100644 Binary files a/docs/dev/_images/sphx_glr_spectral_analysis_005.png and b/docs/dev/_images/sphx_glr_spectral_analysis_005.png differ diff --git a/docs/dev/_images/sphx_glr_spectral_analysis_006.png b/docs/dev/_images/sphx_glr_spectral_analysis_006.png index 4cb92753f5f..bbe07d1f897 100644 Binary files a/docs/dev/_images/sphx_glr_spectral_analysis_006.png and b/docs/dev/_images/sphx_glr_spectral_analysis_006.png differ diff --git a/docs/dev/_images/sphx_glr_spectral_analysis_008.png b/docs/dev/_images/sphx_glr_spectral_analysis_008.png new file mode 100644 index 00000000000..b6d63e1447a Binary files /dev/null and b/docs/dev/_images/sphx_glr_spectral_analysis_008.png differ diff --git a/docs/dev/_images/sphx_glr_spectral_analysis_009.png b/docs/dev/_images/sphx_glr_spectral_analysis_009.png new file mode 100644 index 00000000000..f7250b930e6 Binary files /dev/null and b/docs/dev/_images/sphx_glr_spectral_analysis_009.png differ diff --git a/docs/dev/_images/sphx_glr_spectral_analysis_rad_max_005.png b/docs/dev/_images/sphx_glr_spectral_analysis_rad_max_005.png index 0b8ba32d670..664cdf824b7 100644 Binary files a/docs/dev/_images/sphx_glr_spectral_analysis_rad_max_005.png and b/docs/dev/_images/sphx_glr_spectral_analysis_rad_max_005.png differ diff --git a/docs/dev/_images/sphx_glr_spectral_analysis_thumb.png b/docs/dev/_images/sphx_glr_spectral_analysis_thumb.png index f4254d5c0eb..d1b36a5b0ac 100644 Binary files a/docs/dev/_images/sphx_glr_spectral_analysis_thumb.png and b/docs/dev/_images/sphx_glr_spectral_analysis_thumb.png differ diff --git a/docs/dev/_modules/gammapy/analysis/config.html b/docs/dev/_modules/gammapy/analysis/config.html index f4eebf9defa..ffa7f110fd2 100644 --- a/docs/dev/_modules/gammapy/analysis/config.html +++ b/docs/dev/_modules/gammapy/analysis/config.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/analysis/core.html b/docs/dev/_modules/gammapy/analysis/core.html index add84c48cfc..1df0aae02bb 100644 --- a/docs/dev/_modules/gammapy/analysis/core.html +++ b/docs/dev/_modules/gammapy/analysis/core.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/astro/darkmatter/profiles.html b/docs/dev/_modules/gammapy/astro/darkmatter/profiles.html index d3435701e7f..2bba5910498 100644 --- a/docs/dev/_modules/gammapy/astro/darkmatter/profiles.html +++ b/docs/dev/_modules/gammapy/astro/darkmatter/profiles.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/astro/darkmatter/spectra.html b/docs/dev/_modules/gammapy/astro/darkmatter/spectra.html index 0ba97b1a0ca..cbd959045e8 100644 --- a/docs/dev/_modules/gammapy/astro/darkmatter/spectra.html +++ b/docs/dev/_modules/gammapy/astro/darkmatter/spectra.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/astro/darkmatter/utils.html b/docs/dev/_modules/gammapy/astro/darkmatter/utils.html index 124421c984b..90adc5b7371 100644 --- a/docs/dev/_modules/gammapy/astro/darkmatter/utils.html +++ b/docs/dev/_modules/gammapy/astro/darkmatter/utils.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/astro/population/simulate.html b/docs/dev/_modules/gammapy/astro/population/simulate.html index e8b564969de..96e83269eb8 100644 --- a/docs/dev/_modules/gammapy/astro/population/simulate.html +++ b/docs/dev/_modules/gammapy/astro/population/simulate.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/astro/population/spatial.html b/docs/dev/_modules/gammapy/astro/population/spatial.html index 607281b0630..209aaf6fcfb 100644 --- a/docs/dev/_modules/gammapy/astro/population/spatial.html +++ b/docs/dev/_modules/gammapy/astro/population/spatial.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/astro/population/velocity.html b/docs/dev/_modules/gammapy/astro/population/velocity.html index 974f24331dc..81b9c72eef8 100644 --- a/docs/dev/_modules/gammapy/astro/population/velocity.html +++ b/docs/dev/_modules/gammapy/astro/population/velocity.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/astro/source/pulsar.html b/docs/dev/_modules/gammapy/astro/source/pulsar.html index a70d53aecdb..6f348c45fff 100644 --- a/docs/dev/_modules/gammapy/astro/source/pulsar.html +++ b/docs/dev/_modules/gammapy/astro/source/pulsar.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/astro/source/pwn.html b/docs/dev/_modules/gammapy/astro/source/pwn.html index 869653cfe7b..405a67e562a 100644 --- a/docs/dev/_modules/gammapy/astro/source/pwn.html +++ b/docs/dev/_modules/gammapy/astro/source/pwn.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/astro/source/snr.html b/docs/dev/_modules/gammapy/astro/source/snr.html index 96f18371e8f..5fc08853550 100644 --- a/docs/dev/_modules/gammapy/astro/source/snr.html +++ b/docs/dev/_modules/gammapy/astro/source/snr.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/catalog/core.html b/docs/dev/_modules/gammapy/catalog/core.html index 189245b533d..9bc9953a82a 100644 --- a/docs/dev/_modules/gammapy/catalog/core.html +++ b/docs/dev/_modules/gammapy/catalog/core.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/catalog/fermi.html b/docs/dev/_modules/gammapy/catalog/fermi.html index a8e9a47a5ed..2f17dcfed83 100644 --- a/docs/dev/_modules/gammapy/catalog/fermi.html +++ b/docs/dev/_modules/gammapy/catalog/fermi.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/catalog/gammacat.html b/docs/dev/_modules/gammapy/catalog/gammacat.html index f68d118a3fe..43d7c5dc177 100644 --- a/docs/dev/_modules/gammapy/catalog/gammacat.html +++ b/docs/dev/_modules/gammapy/catalog/gammacat.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/catalog/hawc.html b/docs/dev/_modules/gammapy/catalog/hawc.html index c75162cb19e..91e3858b176 100644 --- a/docs/dev/_modules/gammapy/catalog/hawc.html +++ b/docs/dev/_modules/gammapy/catalog/hawc.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/catalog/hess.html b/docs/dev/_modules/gammapy/catalog/hess.html index 01376e6128a..fa0df64223d 100644 --- a/docs/dev/_modules/gammapy/catalog/hess.html +++ b/docs/dev/_modules/gammapy/catalog/hess.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/catalog/lhaaso.html b/docs/dev/_modules/gammapy/catalog/lhaaso.html index 3c28144889d..054a91b08b9 100644 --- a/docs/dev/_modules/gammapy/catalog/lhaaso.html +++ b/docs/dev/_modules/gammapy/catalog/lhaaso.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/data/data_store.html b/docs/dev/_modules/gammapy/data/data_store.html index 4bc41cf7ba5..f6b61fc83ba 100644 --- a/docs/dev/_modules/gammapy/data/data_store.html +++ b/docs/dev/_modules/gammapy/data/data_store.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/data/event_list.html b/docs/dev/_modules/gammapy/data/event_list.html index e7bfde30888..4885bbd9dab 100644 --- a/docs/dev/_modules/gammapy/data/event_list.html +++ b/docs/dev/_modules/gammapy/data/event_list.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/data/filters.html b/docs/dev/_modules/gammapy/data/filters.html index 81e2852d22d..cbd40cd6eb2 100644 --- a/docs/dev/_modules/gammapy/data/filters.html +++ b/docs/dev/_modules/gammapy/data/filters.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/data/gti.html b/docs/dev/_modules/gammapy/data/gti.html index 6f1161e3795..5b312e4d415 100644 --- a/docs/dev/_modules/gammapy/data/gti.html +++ b/docs/dev/_modules/gammapy/data/gti.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/data/hdu_index_table.html b/docs/dev/_modules/gammapy/data/hdu_index_table.html index 12121d112eb..f5566d40bc7 100644 --- a/docs/dev/_modules/gammapy/data/hdu_index_table.html +++ b/docs/dev/_modules/gammapy/data/hdu_index_table.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/data/metadata.html b/docs/dev/_modules/gammapy/data/metadata.html index 64ec977ee23..1cdbdf396fc 100644 --- a/docs/dev/_modules/gammapy/data/metadata.html +++ b/docs/dev/_modules/gammapy/data/metadata.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/data/obs_table.html b/docs/dev/_modules/gammapy/data/obs_table.html index 445edc0cb88..6b9fa85259d 100644 --- a/docs/dev/_modules/gammapy/data/obs_table.html +++ b/docs/dev/_modules/gammapy/data/obs_table.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/data/observations.html b/docs/dev/_modules/gammapy/data/observations.html index 0a49f0199a0..b4ac0ad8271 100644 --- a/docs/dev/_modules/gammapy/data/observations.html +++ b/docs/dev/_modules/gammapy/data/observations.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/data/pointing.html b/docs/dev/_modules/gammapy/data/pointing.html index 8dd37fa79e8..dd6d43fa302 100644 --- a/docs/dev/_modules/gammapy/data/pointing.html +++ b/docs/dev/_modules/gammapy/data/pointing.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/data/simulate.html b/docs/dev/_modules/gammapy/data/simulate.html index b09d30157ab..89bd80182ab 100644 --- a/docs/dev/_modules/gammapy/data/simulate.html +++ b/docs/dev/_modules/gammapy/data/simulate.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/data/utils.html b/docs/dev/_modules/gammapy/data/utils.html index 9a0257c5aa5..79ba691fe78 100644 --- a/docs/dev/_modules/gammapy/data/utils.html +++ b/docs/dev/_modules/gammapy/data/utils.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/datasets/core.html b/docs/dev/_modules/gammapy/datasets/core.html index be1109b42ee..a655e9e3ae8 100644 --- a/docs/dev/_modules/gammapy/datasets/core.html +++ b/docs/dev/_modules/gammapy/datasets/core.html @@ -63,7 +63,7 @@ - + diff --git a/docs/dev/_modules/gammapy/datasets/flux_points.html b/docs/dev/_modules/gammapy/datasets/flux_points.html index ce4ab82e040..d16bc38dbde 100644 --- a/docs/dev/_modules/gammapy/datasets/flux_points.html +++ b/docs/dev/_modules/gammapy/datasets/flux_points.html @@ -63,7 +63,7 @@ - + @@ -539,6 +539,8 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
import logging
import numpy as np
+from scipy.special import erfc
+from scipy.stats import norm
from astropy import units as u
from astropy.io import fits
from astropy.table import Table
@@ -552,6 +554,7 @@ Source code for gammapy.datasets.flux_points
SkyModel,
TemplateSpatialModel,
)
+from gammapy.utils.interpolation import interpolate_profile
from gammapy.utils.scripts import make_name, make_path
from .core import Dataset
@@ -595,6 +598,25 @@ Source code for gammapy.datasets.flux_points
meta_table : `~astropy.table.Table`
Table listing information on observations used to create the dataset.
One line per observation for stacked datasets.
+ stat_type : str
+ Method used to compute the statistics:
+ * chi2 : estimate from chi2 statistics.
+ * profile : estimate from interpolation of the likelihood profile.
+ * distrib : Assuming gaussian errors the likelihood is given by the
+ probability density function of the normal distribution.
+ For the upper limit case it is necessary to marginalize over the unknown measurement,
+ So we integrate the normal distribution up to the upper limit value
+ which gives the complementary error function.
+ See eq. C7 of Mohanty et al (2013) :
+ https://iopscience.iop.org/article/10.1088/0004-637X/773/2/168/pdf
+
+ Default is `chi2`, in that case upper limits are ignored and the mean of asymetrics error is used.
+ However it is recommended to use `profile` if `stat_scan` is available on flux points.
+ The `distrib` case provides an approximation if the profile is not available.
+ stat_kwargs : dict
+ Extra arguments specifying the interpolation scheme of the likelihood profile.
+ Used only if `stat_type=="profile"`. In that case the default is :
+ `stat_kwargs={"interp_scale":"sqrt", "extrapolate":True}
Examples
--------
@@ -642,7 +664,6 @@ Source code for gammapy.datasets.flux_points
``gammapy download datasets --tests --out $GAMMAPY_DATA``
"""
- stat_type = "chi2"
tag = "FluxPointsDataset"
def __init__(
@@ -653,6 +674,8 @@ Source code for gammapy.datasets.flux_points
mask_safe=None,
name=None,
meta_table=None,
+ stat_type="chi2",
+ stat_kwargs=None,
):
if not data.geom.has_energy_axis:
raise ValueError("FluxPointsDataset needs an energy axis")
@@ -662,11 +685,62 @@ Source code for gammapy.datasets.flux_points
self.models = models
self.meta_table = meta_table
- if mask_safe is None:
- mask_safe = (~data.is_ul).data
+ self._available_stat_type = dict(
+ chi2=self._stat_array_chi2,
+ profile=self._stat_array_profile,
+ distrib=self._stat_array_distrib,
+ )
+
+ if stat_kwargs is None:
+ stat_kwargs = dict()
+ self.stat_kwargs = stat_kwargs
+
+ self.stat_type = stat_type
+ if mask_safe is None:
+ mask_safe = np.ones(self.data.dnde.data.shape, dtype=bool)
self.mask_safe = mask_safe
+ @property
+ def available_stat_type(self):
+ return list(self._available_stat_type.keys())
+
+ @property
+ def stat_type(self):
+ return self._stat_type
+
+ @stat_type.setter
+ def stat_type(self, stat_type):
+
+ if stat_type not in self.available_stat_type:
+ raise ValueError(
+ f"Invalid stat_type: possible options are {self.available_stat_type}"
+ )
+
+ if stat_type == "chi2":
+ self._mask_valid = (~self.data.is_ul).data & np.isfinite(self.data.dnde)
+ elif stat_type == "distrib":
+ self._mask_valid = (
+ self.data.is_ul.data & np.isfinite(self.data.dnde_ul)
+ ) | np.isfinite(self.data.dnde)
+ elif stat_type == "profile":
+ self.stat_kwargs.setdefault("interp_scale", "sqrt")
+ self.stat_kwargs.setdefault("extrapolate", True)
+ self._profile_interpolators = self._get_valid_profile_interpolators()
+ self._stat_type = stat_type
+
+ @property
+ def mask_valid(self):
+ return self._mask_valid
+
+ @property
+ def mask_safe(self):
+ return self._mask_safe & self.mask_valid
+
+ @mask_safe.setter
+ def mask_safe(self, mask_safe):
+ self._mask_safe = mask_safe
+
@property
def name(self):
return self._name
@@ -867,14 +941,82 @@ Source code for gammapy.datasets.flux_points
[docs]
def stat_array(self):
"""Fit statistic array."""
+ return self._available_stat_type[self.stat_type]()
+
+
+ def _stat_array_chi2(self):
+ """Chi2 statistics."""
model = self.flux_pred()
data = self.data.dnde.quantity
try:
- sigma = self.data.dnde_err
+ sigma = self.data.dnde_err.quantity
except AttributeError:
- sigma = (self.data.dnde_errn + self.data.dnde_errp) / 2
- return ((data - model) / sigma.quantity).to_value("") ** 2
+ sigma = (self.data.dnde_errn + self.data.dnde_errp).quantity / 2
+ return ((data - model) / sigma).to_value("") ** 2
+
+ def _stat_array_profile(self):
+ """Estimate statitistic from interpolation of the likelihood profile."""
+ model = np.zeros(self.data.dnde.data.shape) + (
+ self.flux_pred() / self.data.dnde_ref
+ ).to_value("")
+ stat = np.zeros(model.shape)
+ for idx in np.ndindex(self._profile_interpolators.shape):
+ stat[idx] = self._profile_interpolators[idx](model[idx])
+ return stat
+
+ def _get_valid_profile_interpolators(self):
+ value_scan = self.data.stat_scan.geom.axes["norm"].center
+ shape_axes = self.data.stat_scan.geom._shape[slice(3, None)][::-1]
+ interpolators = np.empty(shape_axes, dtype=object)
+ self._mask_valid = np.ones(self.data.dnde.data.shape, dtype=bool)
+ for idx in np.ndindex(shape_axes):
+ stat_scan = np.abs(
+ self.data.stat_scan.data[idx].squeeze()
+ - self.data.stat.data[idx].squeeze()
+ )
+ self._mask_valid[idx] = np.all(np.isfinite(stat_scan))
+ interpolators[idx] = interpolate_profile(
+ value_scan,
+ stat_scan,
+ interp_scale=self.stat_kwargs["interp_scale"],
+ extrapolate=self.stat_kwargs["extrapolate"],
+ )
+ return interpolators
+ def _stat_array_distrib(self):
+ """Estimate statistic from probability distributions,
+ assumes that flux points correspond to asymmetric gaussians
+ and upper limits complementary error functions.
+ """
+ model = np.zeros(self.data.dnde.data.shape) + self.flux_pred().to_value(
+ self.data.dnde.unit
+ )
+
+ stat = np.zeros(model.shape)
+
+ mask_valid = ~np.isnan(self.data.dnde.data)
+ loc = self.data.dnde.data[mask_valid]
+ value = model[mask_valid]
+ try:
+ mask_p = (model >= self.data.dnde.data)[mask_valid]
+ scale = np.zeros(mask_p.shape)
+ scale[mask_p] = self.data.dnde_errp.data[mask_valid][mask_p]
+ scale[~mask_p] = self.data.dnde_errn.data[mask_valid][~mask_p]
+ except AttributeError:
+ scale = self.data.dnde_err.data[mask_valid]
+ stat[mask_valid] = -2 * np.log(
+ norm.pdf(value, loc=loc, scale=scale) / norm.pdf(loc, loc=loc, scale=scale)
+ )
+
+ mask_ul = self.data.is_ul.data & ~np.isnan(self.data.dnde_ul.data)
+ value = model[mask_ul]
+ loc_ul = self.data.dnde_ul.data[mask_ul]
+ scale_ul = self.data.dnde_ul.data[mask_ul]
+ stat[mask_ul] = 2 * np.log(
+ (erfc((loc_ul - value) / scale_ul) / 2)
+ / (erfc((loc_ul - 0) / scale_ul) / 2)
+ )
+ return stat
[docs]
diff --git a/docs/dev/_modules/gammapy/datasets/io.html b/docs/dev/_modules/gammapy/datasets/io.html
index d65bca94c6f..e208e117eee 100644
--- a/docs/dev/_modules/gammapy/datasets/io.html
+++ b/docs/dev/_modules/gammapy/datasets/io.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/datasets/map.html b/docs/dev/_modules/gammapy/datasets/map.html
index e487fa5137b..c46f0af6c23 100644
--- a/docs/dev/_modules/gammapy/datasets/map.html
+++ b/docs/dev/_modules/gammapy/datasets/map.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/datasets/metadata.html b/docs/dev/_modules/gammapy/datasets/metadata.html
index 4399cbb4f35..999a31b9e37 100644
--- a/docs/dev/_modules/gammapy/datasets/metadata.html
+++ b/docs/dev/_modules/gammapy/datasets/metadata.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/datasets/simulate.html b/docs/dev/_modules/gammapy/datasets/simulate.html
index 00aa2ecda10..88e51d272ba 100644
--- a/docs/dev/_modules/gammapy/datasets/simulate.html
+++ b/docs/dev/_modules/gammapy/datasets/simulate.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/datasets/spectrum.html b/docs/dev/_modules/gammapy/datasets/spectrum.html
index 8c00211fff0..8eb22d9081f 100644
--- a/docs/dev/_modules/gammapy/datasets/spectrum.html
+++ b/docs/dev/_modules/gammapy/datasets/spectrum.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/datasets/utils.html b/docs/dev/_modules/gammapy/datasets/utils.html
index 6288121d9b9..28abecc68cd 100644
--- a/docs/dev/_modules/gammapy/datasets/utils.html
+++ b/docs/dev/_modules/gammapy/datasets/utils.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/core.html b/docs/dev/_modules/gammapy/estimators/core.html
index c0ee16e5514..c6563c6d9d3 100644
--- a/docs/dev/_modules/gammapy/estimators/core.html
+++ b/docs/dev/_modules/gammapy/estimators/core.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/energydependentmorphology.html b/docs/dev/_modules/gammapy/estimators/energydependentmorphology.html
index e32429a0e20..e3455aa1c74 100644
--- a/docs/dev/_modules/gammapy/estimators/energydependentmorphology.html
+++ b/docs/dev/_modules/gammapy/estimators/energydependentmorphology.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/map/asmooth.html b/docs/dev/_modules/gammapy/estimators/map/asmooth.html
index d23dcb56158..78781db9492 100644
--- a/docs/dev/_modules/gammapy/estimators/map/asmooth.html
+++ b/docs/dev/_modules/gammapy/estimators/map/asmooth.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/map/core.html b/docs/dev/_modules/gammapy/estimators/map/core.html
index 2bd3c59208a..d2c7239845a 100644
--- a/docs/dev/_modules/gammapy/estimators/map/core.html
+++ b/docs/dev/_modules/gammapy/estimators/map/core.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/map/excess.html b/docs/dev/_modules/gammapy/estimators/map/excess.html
index 51118b5ee46..5bfc0d28cf4 100644
--- a/docs/dev/_modules/gammapy/estimators/map/excess.html
+++ b/docs/dev/_modules/gammapy/estimators/map/excess.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/map/ts.html b/docs/dev/_modules/gammapy/estimators/map/ts.html
index 3da72122568..1f8c6a1a84c 100644
--- a/docs/dev/_modules/gammapy/estimators/map/ts.html
+++ b/docs/dev/_modules/gammapy/estimators/map/ts.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/metadata.html b/docs/dev/_modules/gammapy/estimators/metadata.html
index 182ae20cf41..220d5a264ae 100644
--- a/docs/dev/_modules/gammapy/estimators/metadata.html
+++ b/docs/dev/_modules/gammapy/estimators/metadata.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/parameter.html b/docs/dev/_modules/gammapy/estimators/parameter.html
index e4f94099a6e..6d2385fa1ef 100644
--- a/docs/dev/_modules/gammapy/estimators/parameter.html
+++ b/docs/dev/_modules/gammapy/estimators/parameter.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/points/core.html b/docs/dev/_modules/gammapy/estimators/points/core.html
index dbb43f7c816..d9bb46df583 100644
--- a/docs/dev/_modules/gammapy/estimators/points/core.html
+++ b/docs/dev/_modules/gammapy/estimators/points/core.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/points/lightcurve.html b/docs/dev/_modules/gammapy/estimators/points/lightcurve.html
index 9a1acf76d90..d360231b4a0 100644
--- a/docs/dev/_modules/gammapy/estimators/points/lightcurve.html
+++ b/docs/dev/_modules/gammapy/estimators/points/lightcurve.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/points/profile.html b/docs/dev/_modules/gammapy/estimators/points/profile.html
index 060336381aa..d6c930f2f18 100644
--- a/docs/dev/_modules/gammapy/estimators/points/profile.html
+++ b/docs/dev/_modules/gammapy/estimators/points/profile.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/points/sed.html b/docs/dev/_modules/gammapy/estimators/points/sed.html
index 2fcc01a1954..b37ac161190 100644
--- a/docs/dev/_modules/gammapy/estimators/points/sed.html
+++ b/docs/dev/_modules/gammapy/estimators/points/sed.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/points/sensitivity.html b/docs/dev/_modules/gammapy/estimators/points/sensitivity.html
index aaa6fe931a5..48fd050020e 100644
--- a/docs/dev/_modules/gammapy/estimators/points/sensitivity.html
+++ b/docs/dev/_modules/gammapy/estimators/points/sensitivity.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/profile.html b/docs/dev/_modules/gammapy/estimators/profile.html
index a687b87df9a..8566202d4af 100644
--- a/docs/dev/_modules/gammapy/estimators/profile.html
+++ b/docs/dev/_modules/gammapy/estimators/profile.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/estimators/utils.html b/docs/dev/_modules/gammapy/estimators/utils.html
index c4dd2b783fa..e5105905134 100644
--- a/docs/dev/_modules/gammapy/estimators/utils.html
+++ b/docs/dev/_modules/gammapy/estimators/utils.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/background.html b/docs/dev/_modules/gammapy/irf/background.html
index e90ba25fcde..7edd6e9f7dc 100644
--- a/docs/dev/_modules/gammapy/irf/background.html
+++ b/docs/dev/_modules/gammapy/irf/background.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/core.html b/docs/dev/_modules/gammapy/irf/core.html
index d634857c4cb..42c1ed07fb1 100644
--- a/docs/dev/_modules/gammapy/irf/core.html
+++ b/docs/dev/_modules/gammapy/irf/core.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/edisp/core.html b/docs/dev/_modules/gammapy/irf/edisp/core.html
index b49069e17a0..4f2476092a0 100644
--- a/docs/dev/_modules/gammapy/irf/edisp/core.html
+++ b/docs/dev/_modules/gammapy/irf/edisp/core.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/edisp/kernel.html b/docs/dev/_modules/gammapy/irf/edisp/kernel.html
index 4a1d299ae36..6daf635f639 100644
--- a/docs/dev/_modules/gammapy/irf/edisp/kernel.html
+++ b/docs/dev/_modules/gammapy/irf/edisp/kernel.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/edisp/map.html b/docs/dev/_modules/gammapy/irf/edisp/map.html
index c49b98c3180..1e47d048b21 100644
--- a/docs/dev/_modules/gammapy/irf/edisp/map.html
+++ b/docs/dev/_modules/gammapy/irf/edisp/map.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/effective_area.html b/docs/dev/_modules/gammapy/irf/effective_area.html
index 6b686a43c13..89a3c21ef2d 100644
--- a/docs/dev/_modules/gammapy/irf/effective_area.html
+++ b/docs/dev/_modules/gammapy/irf/effective_area.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/io.html b/docs/dev/_modules/gammapy/irf/io.html
index 5f518f415e9..63d04a61c45 100644
--- a/docs/dev/_modules/gammapy/irf/io.html
+++ b/docs/dev/_modules/gammapy/irf/io.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/psf/kernel.html b/docs/dev/_modules/gammapy/irf/psf/kernel.html
index a0dbb831c1b..96e17dc394e 100644
--- a/docs/dev/_modules/gammapy/irf/psf/kernel.html
+++ b/docs/dev/_modules/gammapy/irf/psf/kernel.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/psf/map.html b/docs/dev/_modules/gammapy/irf/psf/map.html
index bfad83ebc02..888f17b5f54 100644
--- a/docs/dev/_modules/gammapy/irf/psf/map.html
+++ b/docs/dev/_modules/gammapy/irf/psf/map.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/psf/parametric.html b/docs/dev/_modules/gammapy/irf/psf/parametric.html
index 87699aa9985..1f44605bcbf 100644
--- a/docs/dev/_modules/gammapy/irf/psf/parametric.html
+++ b/docs/dev/_modules/gammapy/irf/psf/parametric.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/psf/table.html b/docs/dev/_modules/gammapy/irf/psf/table.html
index 11e06f3222e..e63f20c4ed1 100644
--- a/docs/dev/_modules/gammapy/irf/psf/table.html
+++ b/docs/dev/_modules/gammapy/irf/psf/table.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/irf/rad_max.html b/docs/dev/_modules/gammapy/irf/rad_max.html
index 8c59e2b0dfd..e5180c33f3b 100644
--- a/docs/dev/_modules/gammapy/irf/rad_max.html
+++ b/docs/dev/_modules/gammapy/irf/rad_max.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/makers/background/fov.html b/docs/dev/_modules/gammapy/makers/background/fov.html
index 87a96d86b4e..6a113ec3c4c 100644
--- a/docs/dev/_modules/gammapy/makers/background/fov.html
+++ b/docs/dev/_modules/gammapy/makers/background/fov.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/makers/background/phase.html b/docs/dev/_modules/gammapy/makers/background/phase.html
index 1cfe1521e2f..589155850d4 100644
--- a/docs/dev/_modules/gammapy/makers/background/phase.html
+++ b/docs/dev/_modules/gammapy/makers/background/phase.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/makers/background/reflected.html b/docs/dev/_modules/gammapy/makers/background/reflected.html
index 1cdb06e3022..e1384282a58 100644
--- a/docs/dev/_modules/gammapy/makers/background/reflected.html
+++ b/docs/dev/_modules/gammapy/makers/background/reflected.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/makers/background/ring.html b/docs/dev/_modules/gammapy/makers/background/ring.html
index 85ff837ad46..e92356caabd 100644
--- a/docs/dev/_modules/gammapy/makers/background/ring.html
+++ b/docs/dev/_modules/gammapy/makers/background/ring.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/makers/core.html b/docs/dev/_modules/gammapy/makers/core.html
index 8b10e217016..689a0629295 100644
--- a/docs/dev/_modules/gammapy/makers/core.html
+++ b/docs/dev/_modules/gammapy/makers/core.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/makers/map.html b/docs/dev/_modules/gammapy/makers/map.html
index 55d990c11e0..c0bef095b77 100644
--- a/docs/dev/_modules/gammapy/makers/map.html
+++ b/docs/dev/_modules/gammapy/makers/map.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/makers/reduce.html b/docs/dev/_modules/gammapy/makers/reduce.html
index 51d62216810..857365848f1 100644
--- a/docs/dev/_modules/gammapy/makers/reduce.html
+++ b/docs/dev/_modules/gammapy/makers/reduce.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/makers/safe.html b/docs/dev/_modules/gammapy/makers/safe.html
index 5e4651441cf..7a3da594f87 100644
--- a/docs/dev/_modules/gammapy/makers/safe.html
+++ b/docs/dev/_modules/gammapy/makers/safe.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/makers/spectrum.html b/docs/dev/_modules/gammapy/makers/spectrum.html
index 2a246a09efd..795022b1167 100644
--- a/docs/dev/_modules/gammapy/makers/spectrum.html
+++ b/docs/dev/_modules/gammapy/makers/spectrum.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/makers/utils.html b/docs/dev/_modules/gammapy/makers/utils.html
index 646414eb19e..eb0b98f0609 100644
--- a/docs/dev/_modules/gammapy/makers/utils.html
+++ b/docs/dev/_modules/gammapy/makers/utils.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/axes.html b/docs/dev/_modules/gammapy/maps/axes.html
index 13986ef7713..00675fec680 100644
--- a/docs/dev/_modules/gammapy/maps/axes.html
+++ b/docs/dev/_modules/gammapy/maps/axes.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/coord.html b/docs/dev/_modules/gammapy/maps/coord.html
index ac6dee13d20..2f9cf365217 100644
--- a/docs/dev/_modules/gammapy/maps/coord.html
+++ b/docs/dev/_modules/gammapy/maps/coord.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/core.html b/docs/dev/_modules/gammapy/maps/core.html
index 98a5a8c6295..2df75d65088 100644
--- a/docs/dev/_modules/gammapy/maps/core.html
+++ b/docs/dev/_modules/gammapy/maps/core.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/geom.html b/docs/dev/_modules/gammapy/maps/geom.html
index 7c03a6bcdff..fa7ecb6efa3 100644
--- a/docs/dev/_modules/gammapy/maps/geom.html
+++ b/docs/dev/_modules/gammapy/maps/geom.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/hpx/core.html b/docs/dev/_modules/gammapy/maps/hpx/core.html
index e6718082099..27dc5533370 100644
--- a/docs/dev/_modules/gammapy/maps/hpx/core.html
+++ b/docs/dev/_modules/gammapy/maps/hpx/core.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/hpx/geom.html b/docs/dev/_modules/gammapy/maps/hpx/geom.html
index f742f8b45f9..2813f61c3ba 100644
--- a/docs/dev/_modules/gammapy/maps/hpx/geom.html
+++ b/docs/dev/_modules/gammapy/maps/hpx/geom.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/hpx/ndmap.html b/docs/dev/_modules/gammapy/maps/hpx/ndmap.html
index 337cc2ab050..970adea97b3 100644
--- a/docs/dev/_modules/gammapy/maps/hpx/ndmap.html
+++ b/docs/dev/_modules/gammapy/maps/hpx/ndmap.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/maps.html b/docs/dev/_modules/gammapy/maps/maps.html
index c3eaaa28e26..0f178a72258 100644
--- a/docs/dev/_modules/gammapy/maps/maps.html
+++ b/docs/dev/_modules/gammapy/maps/maps.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/measure.html b/docs/dev/_modules/gammapy/maps/measure.html
index 7a711e11317..dc01b7fc69c 100644
--- a/docs/dev/_modules/gammapy/maps/measure.html
+++ b/docs/dev/_modules/gammapy/maps/measure.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/region/geom.html b/docs/dev/_modules/gammapy/maps/region/geom.html
index a7b4271b11e..0db6441d7fc 100644
--- a/docs/dev/_modules/gammapy/maps/region/geom.html
+++ b/docs/dev/_modules/gammapy/maps/region/geom.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/region/ndmap.html b/docs/dev/_modules/gammapy/maps/region/ndmap.html
index 55cd67337e0..4117661b4cd 100644
--- a/docs/dev/_modules/gammapy/maps/region/ndmap.html
+++ b/docs/dev/_modules/gammapy/maps/region/ndmap.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/wcs/core.html b/docs/dev/_modules/gammapy/maps/wcs/core.html
index ff7d3960c7c..e4ed3cd14ce 100644
--- a/docs/dev/_modules/gammapy/maps/wcs/core.html
+++ b/docs/dev/_modules/gammapy/maps/wcs/core.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/wcs/geom.html b/docs/dev/_modules/gammapy/maps/wcs/geom.html
index 17064b96c97..2e2fff5b457 100644
--- a/docs/dev/_modules/gammapy/maps/wcs/geom.html
+++ b/docs/dev/_modules/gammapy/maps/wcs/geom.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/maps/wcs/ndmap.html b/docs/dev/_modules/gammapy/maps/wcs/ndmap.html
index f7039dbaf39..17eea1994a0 100644
--- a/docs/dev/_modules/gammapy/maps/wcs/ndmap.html
+++ b/docs/dev/_modules/gammapy/maps/wcs/ndmap.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/covariance.html b/docs/dev/_modules/gammapy/modeling/covariance.html
index 12f22f0c750..d4da8f168b0 100644
--- a/docs/dev/_modules/gammapy/modeling/covariance.html
+++ b/docs/dev/_modules/gammapy/modeling/covariance.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/fit.html b/docs/dev/_modules/gammapy/modeling/fit.html
index 680a01a26c3..2d80e1263a3 100644
--- a/docs/dev/_modules/gammapy/modeling/fit.html
+++ b/docs/dev/_modules/gammapy/modeling/fit.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/models/core.html b/docs/dev/_modules/gammapy/modeling/models/core.html
index 4bdc3d0be03..ec6c1b26b1a 100644
--- a/docs/dev/_modules/gammapy/modeling/models/core.html
+++ b/docs/dev/_modules/gammapy/modeling/models/core.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/models/cube.html b/docs/dev/_modules/gammapy/modeling/models/cube.html
index 323a7d7a55d..5989a4db76e 100644
--- a/docs/dev/_modules/gammapy/modeling/models/cube.html
+++ b/docs/dev/_modules/gammapy/modeling/models/cube.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/models/spatial.html b/docs/dev/_modules/gammapy/modeling/models/spatial.html
index 0784b3ee886..eb43d36e4e2 100644
--- a/docs/dev/_modules/gammapy/modeling/models/spatial.html
+++ b/docs/dev/_modules/gammapy/modeling/models/spatial.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/models/spectral.html b/docs/dev/_modules/gammapy/modeling/models/spectral.html
index 6ab5fd3d8f1..8331c71ea45 100644
--- a/docs/dev/_modules/gammapy/modeling/models/spectral.html
+++ b/docs/dev/_modules/gammapy/modeling/models/spectral.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/models/spectral_cosmic_ray.html b/docs/dev/_modules/gammapy/modeling/models/spectral_cosmic_ray.html
index a65eb71670a..7eb9064edd3 100644
--- a/docs/dev/_modules/gammapy/modeling/models/spectral_cosmic_ray.html
+++ b/docs/dev/_modules/gammapy/modeling/models/spectral_cosmic_ray.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/models/spectral_crab.html b/docs/dev/_modules/gammapy/modeling/models/spectral_crab.html
index d7e19692f21..79235e55ed8 100644
--- a/docs/dev/_modules/gammapy/modeling/models/spectral_crab.html
+++ b/docs/dev/_modules/gammapy/modeling/models/spectral_crab.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/models/temporal.html b/docs/dev/_modules/gammapy/modeling/models/temporal.html
index 5d5c6f3f238..d060e0d82a0 100644
--- a/docs/dev/_modules/gammapy/modeling/models/temporal.html
+++ b/docs/dev/_modules/gammapy/modeling/models/temporal.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/models/utils.html b/docs/dev/_modules/gammapy/modeling/models/utils.html
index d2987c726fb..b99686099b3 100644
--- a/docs/dev/_modules/gammapy/modeling/models/utils.html
+++ b/docs/dev/_modules/gammapy/modeling/models/utils.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/parameter.html b/docs/dev/_modules/gammapy/modeling/parameter.html
index 0fd08ca1976..8fffef5d1cd 100644
--- a/docs/dev/_modules/gammapy/modeling/parameter.html
+++ b/docs/dev/_modules/gammapy/modeling/parameter.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/scipy.html b/docs/dev/_modules/gammapy/modeling/scipy.html
index 073527e957e..d654bf12fb5 100644
--- a/docs/dev/_modules/gammapy/modeling/scipy.html
+++ b/docs/dev/_modules/gammapy/modeling/scipy.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/modeling/selection.html b/docs/dev/_modules/gammapy/modeling/selection.html
index 6bec321dbdc..abf980947d0 100644
--- a/docs/dev/_modules/gammapy/modeling/selection.html
+++ b/docs/dev/_modules/gammapy/modeling/selection.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/stats/counts_statistic.html b/docs/dev/_modules/gammapy/stats/counts_statistic.html
index 0c2b8b5459f..8a4c318374d 100644
--- a/docs/dev/_modules/gammapy/stats/counts_statistic.html
+++ b/docs/dev/_modules/gammapy/stats/counts_statistic.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/stats/fit_statistics.html b/docs/dev/_modules/gammapy/stats/fit_statistics.html
index 3d06184948e..17b235f8d5b 100644
--- a/docs/dev/_modules/gammapy/stats/fit_statistics.html
+++ b/docs/dev/_modules/gammapy/stats/fit_statistics.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/stats/variability.html b/docs/dev/_modules/gammapy/stats/variability.html
index f849bb14605..d84e1c373a8 100644
--- a/docs/dev/_modules/gammapy/stats/variability.html
+++ b/docs/dev/_modules/gammapy/stats/variability.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/cluster.html b/docs/dev/_modules/gammapy/utils/cluster.html
index 95cf55e0968..456fa8e7176 100644
--- a/docs/dev/_modules/gammapy/utils/cluster.html
+++ b/docs/dev/_modules/gammapy/utils/cluster.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/coordinates/fov.html b/docs/dev/_modules/gammapy/utils/coordinates/fov.html
index e556a014fb3..7f0c0d7bb45 100644
--- a/docs/dev/_modules/gammapy/utils/coordinates/fov.html
+++ b/docs/dev/_modules/gammapy/utils/coordinates/fov.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/coordinates/other.html b/docs/dev/_modules/gammapy/utils/coordinates/other.html
index ef7976ea5a9..bd389217161 100644
--- a/docs/dev/_modules/gammapy/utils/coordinates/other.html
+++ b/docs/dev/_modules/gammapy/utils/coordinates/other.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/fits.html b/docs/dev/_modules/gammapy/utils/fits.html
index 251a80310fb..0028ffc3438 100644
--- a/docs/dev/_modules/gammapy/utils/fits.html
+++ b/docs/dev/_modules/gammapy/utils/fits.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/integrate.html b/docs/dev/_modules/gammapy/utils/integrate.html
index b88962f257d..7350b4abfc6 100644
--- a/docs/dev/_modules/gammapy/utils/integrate.html
+++ b/docs/dev/_modules/gammapy/utils/integrate.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/interpolation.html b/docs/dev/_modules/gammapy/utils/interpolation.html
index 14532c8c7f5..f44b8dd0a2d 100644
--- a/docs/dev/_modules/gammapy/utils/interpolation.html
+++ b/docs/dev/_modules/gammapy/utils/interpolation.html
@@ -63,7 +63,7 @@
-
+
@@ -789,7 +789,7 @@ Source code for gammapy.utils.interpolation
[docs]
-def interpolate_profile(x, y, interp_scale="sqrt"):
+def interpolate_profile(x, y, interp_scale="sqrt", extrapolate=False):
"""Helper function to interpolate one-dimensional profiles.
Parameters
@@ -803,6 +803,9 @@ Source code for gammapy.utils.interpolation
of parabolic shape, a "sqrt" scaling is recommended. In other cases or
for fine sampled profiles a "lin" can also be used.
Default is "sqrt".
+ extrapolate : bool
+ Extrapolate or not if the evaluation value is outside the range of x values.
+ Default is False.
Returns
-------
@@ -810,7 +813,11 @@ Source code for gammapy.utils.interpolation
Interpolator.
"""
method_dict = {"sqrt": "quadratic", "lin": "linear"}
- return scipy.interpolate.interp1d(x, y, kind=method_dict[interp_scale])
+ kwargs = dict(kind=method_dict[interp_scale])
+ if extrapolate:
+ kwargs["bounds_error"] = False
+ kwargs["fill_value"] = "extrapolate"
+ return scipy.interpolate.interp1d(x, y, **kwargs)
diff --git a/docs/dev/_modules/gammapy/utils/parallel.html b/docs/dev/_modules/gammapy/utils/parallel.html
index 17fd14faf6c..3990b972fc4 100644
--- a/docs/dev/_modules/gammapy/utils/parallel.html
+++ b/docs/dev/_modules/gammapy/utils/parallel.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/random/inverse_cdf.html b/docs/dev/_modules/gammapy/utils/random/inverse_cdf.html
index 72fba269787..7235035ee58 100644
--- a/docs/dev/_modules/gammapy/utils/random/inverse_cdf.html
+++ b/docs/dev/_modules/gammapy/utils/random/inverse_cdf.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/random/utils.html b/docs/dev/_modules/gammapy/utils/random/utils.html
index e666486718c..7504a46aa52 100644
--- a/docs/dev/_modules/gammapy/utils/random/utils.html
+++ b/docs/dev/_modules/gammapy/utils/random/utils.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/regions.html b/docs/dev/_modules/gammapy/utils/regions.html
index 3420af32b34..abc430533c0 100644
--- a/docs/dev/_modules/gammapy/utils/regions.html
+++ b/docs/dev/_modules/gammapy/utils/regions.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/scripts.html b/docs/dev/_modules/gammapy/utils/scripts.html
index 9c9a40ede2c..280573952f5 100644
--- a/docs/dev/_modules/gammapy/utils/scripts.html
+++ b/docs/dev/_modules/gammapy/utils/scripts.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/table.html b/docs/dev/_modules/gammapy/utils/table.html
index f3651fe6b29..f103856c713 100644
--- a/docs/dev/_modules/gammapy/utils/table.html
+++ b/docs/dev/_modules/gammapy/utils/table.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/testing.html b/docs/dev/_modules/gammapy/utils/testing.html
index 72a32c6f01d..605826081df 100644
--- a/docs/dev/_modules/gammapy/utils/testing.html
+++ b/docs/dev/_modules/gammapy/utils/testing.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/time.html b/docs/dev/_modules/gammapy/utils/time.html
index 92461855844..6dd9a9d10fc 100644
--- a/docs/dev/_modules/gammapy/utils/time.html
+++ b/docs/dev/_modules/gammapy/utils/time.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/utils/units.html b/docs/dev/_modules/gammapy/utils/units.html
index 8d412840d99..6951f078323 100644
--- a/docs/dev/_modules/gammapy/utils/units.html
+++ b/docs/dev/_modules/gammapy/utils/units.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/visualization/cmap.html b/docs/dev/_modules/gammapy/visualization/cmap.html
index 0b28b52066c..2857e56ad6a 100644
--- a/docs/dev/_modules/gammapy/visualization/cmap.html
+++ b/docs/dev/_modules/gammapy/visualization/cmap.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/visualization/datasets.html b/docs/dev/_modules/gammapy/visualization/datasets.html
index 1c7ea785166..905e0df9e08 100644
--- a/docs/dev/_modules/gammapy/visualization/datasets.html
+++ b/docs/dev/_modules/gammapy/visualization/datasets.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/visualization/heatmap.html b/docs/dev/_modules/gammapy/visualization/heatmap.html
index dc1c073feca..a595f526692 100644
--- a/docs/dev/_modules/gammapy/visualization/heatmap.html
+++ b/docs/dev/_modules/gammapy/visualization/heatmap.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/visualization/panel.html b/docs/dev/_modules/gammapy/visualization/panel.html
index 299f90b88f9..5b075943722 100644
--- a/docs/dev/_modules/gammapy/visualization/panel.html
+++ b/docs/dev/_modules/gammapy/visualization/panel.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/gammapy/visualization/utils.html b/docs/dev/_modules/gammapy/visualization/utils.html
index d47ba5787e7..527c81178fc 100644
--- a/docs/dev/_modules/gammapy/visualization/utils.html
+++ b/docs/dev/_modules/gammapy/visualization/utils.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_modules/index.html b/docs/dev/_modules/index.html
index bce14fdded9..3773984e926 100644
--- a/docs/dev/_modules/index.html
+++ b/docs/dev/_modules/index.html
@@ -63,7 +63,7 @@
-
+
diff --git a/docs/dev/_sources/api/gammapy.datasets.FluxPointsDataset.rst.txt b/docs/dev/_sources/api/gammapy.datasets.FluxPointsDataset.rst.txt
index 049ca50b7b3..59138dc936b 100644
--- a/docs/dev/_sources/api/gammapy.datasets.FluxPointsDataset.rst.txt
+++ b/docs/dev/_sources/api/gammapy.datasets.FluxPointsDataset.rst.txt
@@ -10,8 +10,11 @@ FluxPointsDataset
.. autosummary::
+ ~FluxPointsDataset.available_stat_type
~FluxPointsDataset.gti
~FluxPointsDataset.mask
+ ~FluxPointsDataset.mask_safe
+ ~FluxPointsDataset.mask_valid
~FluxPointsDataset.models
~FluxPointsDataset.name
~FluxPointsDataset.stat_type
@@ -37,8 +40,11 @@ FluxPointsDataset
.. rubric:: Attributes Documentation
+ .. autoattribute:: available_stat_type
.. autoattribute:: gti
.. autoattribute:: mask
+ .. autoattribute:: mask_safe
+ .. autoattribute:: mask_valid
.. autoattribute:: models
.. autoattribute:: name
.. autoattribute:: stat_type
diff --git a/docs/dev/_sources/sg_execution_times.rst.txt b/docs/dev/_sources/sg_execution_times.rst.txt
index c9464d560d2..60f3b7a3d49 100644
--- a/docs/dev/_sources/sg_execution_times.rst.txt
+++ b/docs/dev/_sources/sg_execution_times.rst.txt
@@ -6,7 +6,7 @@
Computation times
=================
-**08:21.457** total execution time for 81 files **from all galleries**:
+**08:17.964** total execution time for 81 files **from all galleries**:
.. container::
@@ -33,245 +33,245 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_tutorials_api_priors.py` (``../examples/tutorials/api/priors.py``)
- - 01:03.532
+ - 01:12.477
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-time_light_curve_flare.py` (``../examples/tutorials/analysis-time/light_curve_flare.py``)
- - 00:34.599
+ - 00:32.466
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-3d_analysis_3d.py` (``../examples/tutorials/analysis-3d/analysis_3d.py``)
- - 00:32.501
+ - 00:31.053
+ - 0.0
+ * - :ref:`sphx_glr_tutorials_analysis-1d_spectral_analysis.py` (``../examples/tutorials/analysis-1d/spectral_analysis.py``)
+ - 00:28.129
- 0.0
* - :ref:`sphx_glr_tutorials_api_astro_dark_matter.py` (``../examples/tutorials/api/astro_dark_matter.py``)
- - 00:28.749
+ - 00:27.939
- 0.0
- * - :ref:`sphx_glr_tutorials_analysis-3d_energy_dependent_estimation.py` (``../examples/tutorials/analysis-3d/energy_dependent_estimation.py``)
- - 00:20.735
+ * - :ref:`sphx_glr_tutorials_analysis-3d_event_sampling.py` (``../examples/tutorials/analysis-3d/event_sampling.py``)
+ - 00:22.106
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-3d_flux_profiles.py` (``../examples/tutorials/analysis-3d/flux_profiles.py``)
- - 00:20.720
- - 0.0
- * - :ref:`sphx_glr_tutorials_analysis-3d_event_sampling.py` (``../examples/tutorials/analysis-3d/event_sampling.py``)
- - 00:20.687
+ - 00:19.171
- 0.0
- * - :ref:`sphx_glr_tutorials_analysis-time_light_curve_simulation.py` (``../examples/tutorials/analysis-time/light_curve_simulation.py``)
- - 00:18.908
+ * - :ref:`sphx_glr_tutorials_analysis-3d_energy_dependent_estimation.py` (``../examples/tutorials/analysis-3d/energy_dependent_estimation.py``)
+ - 00:18.517
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-3d_cta_data_analysis.py` (``../examples/tutorials/analysis-3d/cta_data_analysis.py``)
- - 00:18.175
+ - 00:17.462
- 0.0
- * - :ref:`sphx_glr_tutorials_analysis-1d_spectral_analysis.py` (``../examples/tutorials/analysis-1d/spectral_analysis.py``)
- - 00:15.347
+ * - :ref:`sphx_glr_tutorials_analysis-time_light_curve_simulation.py` (``../examples/tutorials/analysis-time/light_curve_simulation.py``)
+ - 00:16.854
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-2d_detect.py` (``../examples/tutorials/analysis-2d/detect.py``)
- - 00:15.211
+ - 00:14.891
- 0.0
* - :ref:`sphx_glr_tutorials_api_makers.py` (``../examples/tutorials/api/makers.py``)
- - 00:14.997
+ - 00:13.961
- 0.0
* - :ref:`sphx_glr_tutorials_api_datasets.py` (``../examples/tutorials/api/datasets.py``)
- - 00:14.938
+ - 00:12.784
- 0.0
* - :ref:`sphx_glr_tutorials_starting_analysis_1.py` (``../examples/tutorials/starting/analysis_1.py``)
- - 00:12.827
+ - 00:12.292
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-2d_ring_background.py` (``../examples/tutorials/analysis-2d/ring_background.py``)
- - 00:12.415
+ - 00:11.782
- 0.0
* - :ref:`sphx_glr_tutorials_api_fitting.py` (``../examples/tutorials/api/fitting.py``)
- - 00:11.541
+ - 00:10.993
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-3d_simulate_3d.py` (``../examples/tutorials/analysis-3d/simulate_3d.py``)
- - 00:10.093
+ - 00:09.478
- 0.0
* - :ref:`sphx_glr_tutorials_api_model_management.py` (``../examples/tutorials/api/model_management.py``)
- - 00:08.577
+ - 00:08.293
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-1d_spectral_analysis_hli.py` (``../examples/tutorials/analysis-1d/spectral_analysis_hli.py``)
- - 00:07.921
+ - 00:07.383
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-1d_spectrum_simulation.py` (``../examples/tutorials/analysis-1d/spectrum_simulation.py``)
- - 00:07.534
+ - 00:07.002
- 0.0
* - :ref:`sphx_glr_tutorials_data_hawc.py` (``../examples/tutorials/data/hawc.py``)
- - 00:07.468
+ - 00:06.992
- 0.0
* - :ref:`sphx_glr_tutorials_starting_analysis_2.py` (``../examples/tutorials/starting/analysis_2.py``)
- - 00:07.037
+ - 00:06.658
- 0.0
* - :ref:`sphx_glr_tutorials_data_fermi_lat.py` (``../examples/tutorials/data/fermi_lat.py``)
- - 00:06.703
+ - 00:06.198
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-time_light_curve.py` (``../examples/tutorials/analysis-time/light_curve.py``)
- - 00:06.659
+ - 00:06.151
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-time_pulsar_analysis.py` (``../examples/tutorials/analysis-time/pulsar_analysis.py``)
- - 00:06.600
+ - 00:06.106
- 0.0
* - :ref:`sphx_glr_tutorials_api_catalog.py` (``../examples/tutorials/api/catalog.py``)
- - 00:06.284
+ - 00:05.992
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-3d_analysis_mwl.py` (``../examples/tutorials/analysis-3d/analysis_mwl.py``)
- - 00:06.243
+ - 00:05.838
- 0.0
* - :ref:`sphx_glr_tutorials_data_cta.py` (``../examples/tutorials/data/cta.py``)
- - 00:05.550
+ - 00:05.412
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-1d_sed_fitting.py` (``../examples/tutorials/analysis-1d/sed_fitting.py``)
- - 00:05.528
+ - 00:05.231
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-2d_modeling_2D.py` (``../examples/tutorials/analysis-2d/modeling_2D.py``)
- - 00:05.401
+ - 00:05.048
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-1d_extended_source_spectral_analysis.py` (``../examples/tutorials/analysis-1d/extended_source_spectral_analysis.py``)
- - 00:04.449
+ - 00:04.277
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-1d_spectral_analysis_rad_max.py` (``../examples/tutorials/analysis-1d/spectral_analysis_rad_max.py``)
- - 00:04.416
+ - 00:04.209
- 0.0
* - :ref:`sphx_glr_tutorials_api_observation_clustering.py` (``../examples/tutorials/api/observation_clustering.py``)
- - 00:04.171
- - 0.0
- * - :ref:`sphx_glr_tutorials_api_irfs.py` (``../examples/tutorials/api/irfs.py``)
- - 00:04.065
+ - 00:03.863
- 0.0
* - :ref:`sphx_glr_tutorials_data_hess.py` (``../examples/tutorials/data/hess.py``)
- - 00:03.770
+ - 00:03.526
- 0.0
- * - :ref:`sphx_glr_tutorials_api_models.py` (``../examples/tutorials/api/models.py``)
- - 00:03.277
+ * - :ref:`sphx_glr_tutorials_api_irfs.py` (``../examples/tutorials/api/irfs.py``)
+ - 00:03.386
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-3d_event_sampling_nrg_depend_models.py` (``../examples/tutorials/analysis-3d/event_sampling_nrg_depend_models.py``)
- - 00:03.237
+ - 00:02.890
- 0.0
- * - :ref:`sphx_glr_tutorials_api_maps.py` (``../examples/tutorials/api/maps.py``)
- - 00:02.801
+ * - :ref:`sphx_glr_tutorials_api_models.py` (``../examples/tutorials/api/models.py``)
+ - 00:02.571
- 0.0
* - :ref:`sphx_glr_tutorials_scripts_survey_map.py` (``../examples/tutorials/scripts/survey_map.py``)
- - 00:02.612
+ - 00:02.477
+ - 0.0
+ * - :ref:`sphx_glr_tutorials_api_maps.py` (``../examples/tutorials/api/maps.py``)
+ - 00:02.340
- 0.0
* - :ref:`sphx_glr_tutorials_api_mask_maps.py` (``../examples/tutorials/api/mask_maps.py``)
- - 00:02.366
+ - 00:01.945
- 0.0
* - :ref:`sphx_glr_tutorials_starting_overview.py` (``../examples/tutorials/starting/overview.py``)
- - 00:01.400
+ - 00:01.338
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_absorbed.py` (``../examples/models/spectral/plot_absorbed.py``)
- - 00:01.070
+ - 00:01.043
- 0.0
* - :ref:`sphx_glr_tutorials_analysis-1d_cta_sensitivity.py` (``../examples/tutorials/analysis-1d/cta_sensitivity.py``)
- - 00:00.867
- - 0.0
- * - :ref:`sphx_glr_tutorials_analysis-time_Variability_estimation.py` (``../examples/tutorials/analysis-time/Variability_estimation.py``)
- - 00:00.683
+ - 00:00.874
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_constant_temporal.py` (``../examples/models/temporal/plot_constant_temporal.py``)
- - 00:00.652
- - 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_naima.py` (``../examples/models/spectral/plot_naima.py``)
- - 00:00.408
+ - 00:00.634
- 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_broken_powerlaw.py` (``../examples/models/spectral/plot_broken_powerlaw.py``)
- - 00:00.365
+ * - :ref:`sphx_glr_tutorials_analysis-time_Variability_estimation.py` (``../examples/tutorials/analysis-time/Variability_estimation.py``)
+ - 00:00.562
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_constant.py` (``../examples/models/spatial/plot_constant.py``)
- - 00:00.344
+ - 00:00.419
+ - 0.0
+ * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_naima.py` (``../examples/models/spectral/plot_naima.py``)
+ - 00:00.356
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_compound.py` (``../examples/models/spectral/plot_compound.py``)
- - 00:00.333
+ - 00:00.340
+ - 0.0
+ * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_broken_powerlaw.py` (``../examples/models/spectral/plot_broken_powerlaw.py``)
+ - 00:00.317
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_powerlaw2.py` (``../examples/models/spectral/plot_powerlaw2.py``)
- - 00:00.332
+ - 00:00.286
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_smooth_broken_powerlaw.py` (``../examples/models/spectral/plot_smooth_broken_powerlaw.py``)
- - 00:00.331
+ - 00:00.286
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_powerlaw.py` (``../examples/models/spectral/plot_powerlaw.py``)
- - 00:00.330
+ - 00:00.281
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_disk.py` (``../examples/models/spatial/plot_disk.py``)
- - 00:00.327
+ - 00:00.247
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_powerlaw_norm_spectral.py` (``../examples/models/spectral/plot_powerlaw_norm_spectral.py``)
- - 00:00.282
+ - 00:00.235
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_logparabola_norm_spectral.py` (``../examples/models/spectral/plot_logparabola_norm_spectral.py``)
- - 00:00.279
+ - 00:00.233
- 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_constant_spectral.py` (``../examples/models/spectral/plot_constant_spectral.py``)
- - 00:00.247
- - 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw_norm_spectral.py` (``../examples/models/spectral/plot_exp_cutoff_powerlaw_norm_spectral.py``)
- - 00:00.237
- - 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_piecewise_norm_spectral.py` (``../examples/models/spectral/plot_piecewise_norm_spectral.py``)
- - 00:00.232
- - 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_4fgl.py` (``../examples/models/spectral/plot_super_exp_cutoff_powerlaw_4fgl.py``)
- - 00:00.231
+ * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_template.py` (``../examples/models/spatial/plot_template.py``)
+ - 00:00.220
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_gen_gauss.py` (``../examples/models/spatial/plot_gen_gauss.py``)
- - 00:00.230
+ - 00:00.219
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_gauss_spectral.py` (``../examples/models/spectral/plot_gauss_spectral.py``)
- - 00:00.230
- - 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_4fgl_dr1.py` (``../examples/models/spectral/plot_super_exp_cutoff_powerlaw_4fgl_dr1.py``)
- - 00:00.228
+ - 00:00.215
- 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_3fgl.py` (``../examples/models/spectral/plot_super_exp_cutoff_powerlaw_3fgl.py``)
- - 00:00.228
+ * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_constant_spectral.py` (``../examples/models/spectral/plot_constant_spectral.py``)
+ - 00:00.210
- 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw.py` (``../examples/models/spectral/plot_exp_cutoff_powerlaw.py``)
- - 00:00.218
+ * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_logparabola.py` (``../examples/models/spectral/plot_logparabola.py``)
+ - 00:00.203
- 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_gauss.py` (``../examples/models/spatial/plot_gauss.py``)
- - 00:00.215
+ * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_point.py` (``../examples/models/spatial/plot_point.py``)
+ - 00:00.195
- 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_logparabola.py` (``../examples/models/spectral/plot_logparabola.py``)
- - 00:00.214
+ * - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_powerlaw_temporal.py` (``../examples/models/temporal/plot_powerlaw_temporal.py``)
+ - 00:00.192
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_template_spectral.py` (``../examples/models/spectral/plot_template_spectral.py``)
- - 00:00.213
+ - 00:00.191
- 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw_3fgl.py` (``../examples/models/spectral/plot_exp_cutoff_powerlaw_3fgl.py``)
- - 00:00.211
+ * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_piecewise_norm_spectral.py` (``../examples/models/spectral/plot_piecewise_norm_spectral.py``)
+ - 00:00.188
- 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_template.py` (``../examples/models/spatial/plot_template.py``)
- - 00:00.201
+ * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_gauss.py` (``../examples/models/spatial/plot_gauss.py``)
+ - 00:00.188
- 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_powerlaw_temporal.py` (``../examples/models/temporal/plot_powerlaw_temporal.py``)
- - 00:00.199
+ * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_3fgl.py` (``../examples/models/spectral/plot_super_exp_cutoff_powerlaw_3fgl.py``)
+ - 00:00.187
- 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_point.py` (``../examples/models/spatial/plot_point.py``)
- - 00:00.194
+ * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw_norm_spectral.py` (``../examples/models/spectral/plot_exp_cutoff_powerlaw_norm_spectral.py``)
+ - 00:00.187
+ - 0.0
+ * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_4fgl.py` (``../examples/models/spectral/plot_super_exp_cutoff_powerlaw_4fgl.py``)
+ - 00:00.185
+ - 0.0
+ * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_4fgl_dr1.py` (``../examples/models/spectral/plot_super_exp_cutoff_powerlaw_4fgl_dr1.py``)
+ - 00:00.185
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_shell.py` (``../examples/models/spatial/plot_shell.py``)
- - 00:00.160
+ - 00:00.179
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_shell2.py` (``../examples/models/spatial/plot_shell2.py``)
- - 00:00.155
+ - 00:00.173
+ - 0.0
+ * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw.py` (``../examples/models/spectral/plot_exp_cutoff_powerlaw.py``)
+ - 00:00.171
+ - 0.0
+ * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw_3fgl.py` (``../examples/models/spectral/plot_exp_cutoff_powerlaw_3fgl.py``)
+ - 00:00.169
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_piecewise_norm_spatial.py` (``../examples/models/spatial/plot_piecewise_norm_spatial.py``)
- - 00:00.144
+ - 00:00.138
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_template_phase_temporal.py` (``../examples/models/temporal/plot_template_phase_temporal.py``)
- - 00:00.129
+ - 00:00.120
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_template_temporal.py` (``../examples/models/temporal/plot_template_temporal.py``)
- - 00:00.128
+ - 00:00.119
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_generalized_gaussian_temporal.py` (``../examples/models/temporal/plot_generalized_gaussian_temporal.py``)
- - 00:00.117
+ - 00:00.109
+ - 0.0
+ * - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_sine_temporal.py` (``../examples/models/temporal/plot_sine_temporal.py``)
+ - 00:00.108
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_gaussian_temporal.py` (``../examples/models/temporal/plot_gaussian_temporal.py``)
- - 00:00.115
+ - 00:00.108
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_expdecay_temporal.py` (``../examples/models/temporal/plot_expdecay_temporal.py``)
- - 00:00.114
- - 0.0
- * - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_sine_temporal.py` (``../examples/models/temporal/plot_sine_temporal.py``)
- - 00:00.113
+ - 00:00.107
- 0.0
* - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_linear_temporal.py` (``../examples/models/temporal/plot_linear_temporal.py``)
- - 00:00.108
+ - 00:00.104
- 0.0
diff --git a/docs/dev/_sources/tutorials/analysis-1d/cta_sensitivity.rst.txt b/docs/dev/_sources/tutorials/analysis-1d/cta_sensitivity.rst.txt
index c439ee40de3..e64d6903bb5 100644
--- a/docs/dev/_sources/tutorials/analysis-1d/cta_sensitivity.rst.txt
+++ b/docs/dev/_sources/tutorials/analysis-1d/cta_sensitivity.rst.txt
@@ -119,7 +119,7 @@ Check setup
Gammapy package:
- version : 1.3.dev370+g12bce6c25
+ version : 1.3.dev396+g813ec3eb9
path : /home/runner/work/gammapy-docs/gammapy-docs/gammapy/.tox/build_docs/lib/python3.9/site-packages/gammapy
diff --git a/docs/dev/_sources/tutorials/analysis-1d/extended_source_spectral_analysis.rst.txt b/docs/dev/_sources/tutorials/analysis-1d/extended_source_spectral_analysis.rst.txt
index c309a8aa856..91fd1e9eff4 100644
--- a/docs/dev/_sources/tutorials/analysis-1d/extended_source_spectral_analysis.rst.txt
+++ b/docs/dev/_sources/tutorials/analysis-1d/extended_source_spectral_analysis.rst.txt
@@ -164,7 +164,7 @@ Check setup
Gammapy package:
- version : 1.3.dev370+g12bce6c25
+ version : 1.3.dev396+g813ec3eb9
path : /home/runner/work/gammapy-docs/gammapy-docs/gammapy/.tox/build_docs/lib/python3.9/site-packages/gammapy
diff --git a/docs/dev/_sources/tutorials/analysis-1d/sed_fitting.rst.txt b/docs/dev/_sources/tutorials/analysis-1d/sed_fitting.rst.txt
index 096e70aa8b0..32002ac2fd5 100644
--- a/docs/dev/_sources/tutorials/analysis-1d/sed_fitting.rst.txt
+++ b/docs/dev/_sources/tutorials/analysis-1d/sed_fitting.rst.txt
@@ -162,7 +162,7 @@ attribute:
Table length=5
-