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 @@

Source code for gammapy.datasets.flux_points

# 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 - +
diff --git a/docs/dev/_sources/tutorials/analysis-1d/sg_execution_times.rst.txt b/docs/dev/_sources/tutorials/analysis-1d/sg_execution_times.rst.txt index 9d6ef53f84b..ed68eaacfae 100644 --- a/docs/dev/_sources/tutorials/analysis-1d/sg_execution_times.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-1d/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**00:46.062** total execution time for 7 files **from tutorials/analysis-1d**: +**00:57.105** total execution time for 7 files **from tutorials/analysis-1d**: .. container:: @@ -33,23 +33,23 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_analysis-1d_spectral_analysis.py` (``spectral_analysis.py``) - - 00:15.347 + - 00:28.129 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-1d_spectral_analysis_hli.py` (``spectral_analysis_hli.py``) - - 00:07.921 + - 00:07.383 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-1d_spectrum_simulation.py` (``spectrum_simulation.py``) - - 00:07.534 + - 00:07.002 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-1d_sed_fitting.py` (``sed_fitting.py``) - - 00:05.528 + - 00:05.231 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-1d_extended_source_spectral_analysis.py` (``extended_source_spectral_analysis.py``) - - 00:04.449 + - 00:04.277 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-1d_spectral_analysis_rad_max.py` (``spectral_analysis_rad_max.py``) - - 00:04.416 + - 00:04.209 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-1d_cta_sensitivity.py` (``cta_sensitivity.py``) - - 00:00.867 + - 00:00.874 - 0.0 diff --git a/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis.rst.txt b/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis.rst.txt index e8593650041..b60b9b57b42 100644 --- a/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis.rst.txt @@ -207,7 +207,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 @@ -770,41 +770,18 @@ Compute Flux Points 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: - - -.. GENERATED FROM PYTHON SOURCE LINES 387-392 - -.. code-block:: Python - - - dataset_stacked = Datasets(datasets).stack_reduce() - energy_edges = resample_energy_edges(dataset_stacked, conditions={"sqrt_ts_min": 2}) - - - - - - - - - -.. GENERATED FROM PYTHON SOURCE LINES 393-397 - -Now we create an instance of the +We create an instance of the `~gammapy.estimators.FluxPointsEstimator`, by passing the dataset and the energy binning: -.. GENERATED FROM PYTHON SOURCE LINES 397-404 +.. GENERATED FROM PYTHON SOURCE LINES 387-394 .. code-block:: Python 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) @@ -816,12 +793,12 @@ the energy binning: -.. GENERATED FROM PYTHON SOURCE LINES 405-407 +.. GENERATED FROM PYTHON SOURCE LINES 395-397 Here is a the table of the resulting flux points: -.. GENERATED FROM PYTHON SOURCE LINES 407-411 +.. GENERATED FROM PYTHON SOURCE LINES 397-401 .. code-block:: Python @@ -840,31 +817,39 @@ Here is a the table of the resulting flux points: e_ref e_min e_max ... success norm_scan stat_scan TeV TeV TeV ... ------ ------ ------ ... ------- -------------- ------------------ + 0.112 0.100 0.125 ... False 0.200 .. 5.000 nan .. nan + 0.139 0.125 0.156 ... False 0.200 .. 5.000 nan .. nan + 0.174 0.156 0.195 ... False 0.200 .. 5.000 nan .. nan + 0.217 0.195 0.243 ... False 0.200 .. 5.000 nan .. nan + 0.271 0.243 0.303 ... False 0.200 .. 5.000 nan .. nan + 0.339 0.303 0.379 ... False 0.200 .. 5.000 nan .. nan + 0.423 0.379 0.473 ... False 0.200 .. 5.000 nan .. nan + 0.528 0.473 0.590 ... False 0.200 .. 5.000 nan .. nan 0.659 0.590 0.737 ... True 0.200 .. 5.000 62.683 .. 252.535 0.823 0.737 0.920 ... True 0.200 .. 5.000 140.739 .. 451.124 - 1.028 0.920 1.148 ... True 0.200 .. 5.000 105.409 .. 381.859 - 1.283 1.148 1.434 ... True 0.200 .. 5.000 77.194 .. 311.795 - 1.602 1.434 1.790 ... True 0.200 .. 5.000 88.719 .. 221.364 - 2.000 1.790 2.235 ... True 0.200 .. 5.000 62.080 .. 203.491 - 2.497 2.235 2.790 ... True 0.200 .. 5.000 57.228 .. 169.536 - 3.117 2.790 3.483 ... True 0.200 .. 5.000 45.318 .. 123.910 - 3.892 3.483 4.348 ... True 0.200 .. 5.000 13.594 .. 125.092 + ... ... ... ... ... ... ... 4.859 4.348 5.429 ... True 0.200 .. 5.000 31.556 .. 80.689 6.066 5.429 6.778 ... True 0.200 .. 5.000 15.545 .. 51.420 7.573 6.778 8.462 ... True 0.200 .. 5.000 16.394 .. 34.290 9.454 8.462 10.564 ... True 0.200 .. 5.000 12.081 .. 21.493 - 20.556 10.564 40.000 ... True 0.200 .. 5.000 22.913 .. 43.864 + 11.803 10.564 13.189 ... True 0.200 .. 5.000 12.285 .. 18.679 + 14.736 13.189 16.465 ... True 0.200 .. 5.000 3.401 .. 13.778 + 18.397 16.465 20.556 ... True 0.200 .. 5.000 6.221 .. 3.778 + 22.968 20.556 25.663 ... False 0.200 .. 5.000 0.423 .. 4.486 + 28.675 25.663 32.040 ... True 0.200 .. 5.000 0.443 .. 2.288 + 35.799 32.040 40.000 ... False 0.200 .. 5.000 0.139 .. 0.855 + Length = 27 rows -.. GENERATED FROM PYTHON SOURCE LINES 412-415 +.. GENERATED FROM PYTHON SOURCE LINES 402-405 Now we plot the flux points and their likelihood profiles. For the plotting of upper limits we choose a threshold of TS < 4. -.. GENERATED FROM PYTHON SOURCE LINES 415-421 +.. GENERATED FROM PYTHON SOURCE LINES 405-412 .. code-block:: Python @@ -872,6 +857,7 @@ plotting of upper limits we choose a threshold of TS < 4. 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() @@ -886,26 +872,29 @@ plotting of upper limits we choose a threshold of TS < 4. -.. GENERATED FROM PYTHON SOURCE LINES 422-426 +.. GENERATED FROM PYTHON SOURCE LINES 413-417 Note: it is also possible to plot the flux distribution with the spectral model overlaid, but you must ensure the axis binning is identical for the flux points and integral flux. -.. GENERATED FROM PYTHON SOURCE LINES 429-432 +.. GENERATED FROM PYTHON SOURCE LINES 420-423 The final plot with the best fit model, flux points and residuals can be quickly made like this: -.. GENERATED FROM PYTHON SOURCE LINES 432-438 +.. GENERATED FROM PYTHON SOURCE LINES 423-432 .. code-block:: Python - 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() @@ -921,7 +910,7 @@ quickly made like this: -.. GENERATED FROM PYTHON SOURCE LINES 439-446 +.. GENERATED FROM PYTHON SOURCE LINES 433-440 Stack observations ------------------ @@ -931,7 +920,7 @@ observations first and the fitting a model. For this we first stack the individual datasets: -.. GENERATED FROM PYTHON SOURCE LINES 446-450 +.. GENERATED FROM PYTHON SOURCE LINES 440-444 .. code-block:: Python @@ -946,14 +935,14 @@ individual datasets: -.. GENERATED FROM PYTHON SOURCE LINES 451-455 +.. GENERATED FROM PYTHON SOURCE LINES 445-449 Again we set the model on the dataset we would like to fit (in this case it’s only a single one) and pass it to the `~gammapy.modeling.Fit` object: -.. GENERATED FROM PYTHON SOURCE LINES 455-465 +.. GENERATED FROM PYTHON SOURCE LINES 449-459 .. code-block:: Python @@ -995,11 +984,11 @@ object: -.. GENERATED FROM PYTHON SOURCE LINES 466-467 +.. GENERATED FROM PYTHON SOURCE LINES 460-461 And display the parameter table -.. GENERATED FROM PYTHON SOURCE LINES 467-473 +.. GENERATED FROM PYTHON SOURCE LINES 461-467 .. code-block:: Python @@ -1035,14 +1024,14 @@ And display the parameter table -.. GENERATED FROM PYTHON SOURCE LINES 474-478 +.. GENERATED FROM PYTHON SOURCE LINES 468-472 Finally, we compare the results of our stacked analysis to a previously published Crab Nebula Spectrum for reference. This is available in `~gammapy.modeling.models.create_crab_spectral_model`. -.. GENERATED FROM PYTHON SOURCE LINES 478-506 +.. GENERATED FROM PYTHON SOURCE LINES 472-500 .. code-block:: Python @@ -1086,7 +1075,116 @@ published Crab Nebula Spectrum for reference. This is available in -.. GENERATED FROM PYTHON SOURCE LINES 507-522 +.. GENERATED FROM PYTHON SOURCE LINES 501-517 + +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). + +.. GENERATED FROM PYTHON SOURCE LINES 517-555 + +.. code-block:: Python + + + + 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) + + + + +.. image-sg:: /tutorials/analysis-1d/images/sphx_glr_spectral_analysis_008.png + :alt: spectral analysis + :srcset: /tutorials/analysis-1d/images/sphx_glr_spectral_analysis_008.png + :class: sphx-glr-single-img + + + + + +.. GENERATED FROM PYTHON SOURCE LINES 556-576 + +.. code-block:: Python + + + # 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) + + + + +.. image-sg:: /tutorials/analysis-1d/images/sphx_glr_spectral_analysis_009.png + :alt: spectral analysis + :srcset: /tutorials/analysis-1d/images/sphx_glr_spectral_analysis_009.png + :class: sphx-glr-single-img + + + + + +.. GENERATED FROM PYTHON SOURCE LINES 577-592 Exercises --------- @@ -1104,7 +1202,7 @@ practice you can continue with the following exercises: the best fit model, that was directly fitted to the counts data? -.. GENERATED FROM PYTHON SOURCE LINES 525-536 +.. GENERATED FROM PYTHON SOURCE LINES 595-606 What next? ---------- @@ -1121,7 +1219,7 @@ tutorial. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 15.347 seconds) + **Total running time of the script:** (0 minutes 28.129 seconds) .. _sphx_glr_download_tutorials_analysis-1d_spectral_analysis.py: diff --git a/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis_hli.rst.txt b/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis_hli.rst.txt index cb6c7a17d89..2ac7571e0aa 100644 --- a/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis_hli.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis_hli.rst.txt @@ -150,7 +150,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 @@ -991,8 +991,8 @@ This is how we can write the model back to file again: unit: TeV covariance: model-best-fit_covariance.dat metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:10:15.982826' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:03:11.748956' origin: null diff --git a/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis_rad_max.rst.txt b/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis_rad_max.rst.txt index 6e09b5a4460..55a8220ec16 100644 --- a/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis_rad_max.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-1d/spectral_analysis_rad_max.rst.txt @@ -206,7 +206,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 @@ -747,10 +747,10 @@ provide a good distribution of the background. model type name value unit ... frozen is_norm link prior --------- ---- --------- ---------- -------------- ... ------ ------- ---- ----- - simulated amplitude 4.2401e-11 cm-2 s-1 TeV-1 ... False True + simulated amplitude 4.5989e-11 cm-2 s-1 TeV-1 ... False True simulated reference 1.0000e+00 TeV ... True False - simulated alpha 2.6611e+00 ... False False - simulated beta 2.6505e-01 ... False False + simulated alpha 2.4283e+00 ... False False + simulated beta 1.4874e-01 ... False False diff --git a/docs/dev/_sources/tutorials/analysis-1d/spectrum_simulation.rst.txt b/docs/dev/_sources/tutorials/analysis-1d/spectrum_simulation.rst.txt index 27b2b87be0b..31caf0c8855 100644 --- a/docs/dev/_sources/tutorials/analysis-1d/spectrum_simulation.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-1d/spectrum_simulation.rst.txt @@ -142,7 +142,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 @@ -411,14 +411,14 @@ dealing with simulations based on observations of real off counts. SpectrumDatasetOnOff -------------------- - Name : ITRg7pI1 + Name : SbVBPNOv - Total counts : 310 - Total background counts : 21.80 - Total excess counts : 288.20 + Total counts : 325 + Total background counts : 20.80 + Total excess counts : 304.20 - Predicted counts : 303.28 - Predicted background counts : 21.91 + Predicted counts : 302.49 + Predicted background counts : 21.12 Predicted excess counts : 281.37 Exposure min : 2.53e+08 m2 s @@ -428,7 +428,7 @@ dealing with simulations based on observations of real off counts. Number of fit bins : 9 Fit statistic type : wstat - Fit statistic value (-2 log(L)) : 11.86 + Fit statistic value (-2 log(L)) : 11.29 Number of models : 1 Number of parameters : 3 @@ -446,7 +446,7 @@ dealing with simulations based on observations of real off counts. amplitude : 2.50e-12 +/- 0.0e+00 1 / (cm2 s TeV) reference (frozen): 1.000 TeV - Total counts_off : 109 + Total counts_off : 104 Acceptance : 9 Acceptance off : 45 diff --git a/docs/dev/_sources/tutorials/analysis-2d/detect.rst.txt b/docs/dev/_sources/tutorials/analysis-2d/detect.rst.txt index f5a9c5b8f60..daa48445263 100644 --- a/docs/dev/_sources/tutorials/analysis-2d/detect.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-2d/detect.rst.txt @@ -124,7 +124,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 @@ -508,7 +508,7 @@ Here’s some suggestions what to do next: .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 15.211 seconds) + **Total running time of the script:** (0 minutes 14.891 seconds) .. _sphx_glr_download_tutorials_analysis-2d_detect.py: diff --git a/docs/dev/_sources/tutorials/analysis-2d/modeling_2D.rst.txt b/docs/dev/_sources/tutorials/analysis-2d/modeling_2D.rst.txt index 3b68e88e0ff..ec3fccd4cd1 100644 --- a/docs/dev/_sources/tutorials/analysis-2d/modeling_2D.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-2d/modeling_2D.rst.txt @@ -124,7 +124,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-2d/ring_background.rst.txt b/docs/dev/_sources/tutorials/analysis-2d/ring_background.rst.txt index 0d90bd01e59..326765c9ef1 100644 --- a/docs/dev/_sources/tutorials/analysis-2d/ring_background.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-2d/ring_background.rst.txt @@ -127,7 +127,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 @@ -666,7 +666,7 @@ to be a standard normal distribution. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 12.415 seconds) + **Total running time of the script:** (0 minutes 11.782 seconds) .. _sphx_glr_download_tutorials_analysis-2d_ring_background.py: diff --git a/docs/dev/_sources/tutorials/analysis-2d/sg_execution_times.rst.txt b/docs/dev/_sources/tutorials/analysis-2d/sg_execution_times.rst.txt index 0b3c65168c0..bc39f1b5c0a 100644 --- a/docs/dev/_sources/tutorials/analysis-2d/sg_execution_times.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-2d/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**00:33.027** total execution time for 3 files **from tutorials/analysis-2d**: +**00:31.721** total execution time for 3 files **from tutorials/analysis-2d**: .. container:: @@ -33,11 +33,11 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_analysis-2d_detect.py` (``detect.py``) - - 00:15.211 + - 00:14.891 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-2d_ring_background.py` (``ring_background.py``) - - 00:12.415 + - 00:11.782 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-2d_modeling_2D.py` (``modeling_2D.py``) - - 00:05.401 + - 00:05.048 - 0.0 diff --git a/docs/dev/_sources/tutorials/analysis-3d/analysis_3d.rst.txt b/docs/dev/_sources/tutorials/analysis-3d/analysis_3d.rst.txt index 0ee97382248..1dbc646004d 100644 --- a/docs/dev/_sources/tutorials/analysis-3d/analysis_3d.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-3d/analysis_3d.rst.txt @@ -98,7 +98,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 @@ -951,21 +951,21 @@ Data reduction Dataset 0: Type : MapDataset - Name : haYvMPDK + Name : TmQYLpS6 Instrument : CTA Models : Dataset 1: Type : MapDataset - Name : a4h3OOjw + Name : 77NFDsOK Instrument : CTA Models : Dataset 2: Type : MapDataset - Name : V-EnbDBe + Name : 5hin2l8F Instrument : CTA Models : @@ -998,7 +998,7 @@ You can access each one by name or by index, eg: MapDataset ---------- - Name : haYvMPDK + Name : TmQYLpS6 Total counts : 40481 Total background counts : 36014.51 @@ -1066,9 +1066,9 @@ map, omit the region argument. name counts excess ... n_fit_bins stat_type stat_sum ... -------- ------ ------------------ ... ---------- --------- -------- - haYvMPDK 40481 4466.4930435940405 ... 693940 cash nan - a4h3OOjw 40525 4510.505523195905 ... 693940 cash nan - V-EnbDBe 40235 4220.480554966147 ... 693940 cash nan + TmQYLpS6 40481 4466.4930435940405 ... 693940 cash nan + 77NFDsOK 40525 4510.505523195905 ... 693940 cash nan + 5hin2l8F 40235 4220.480554966147 ... 693940 cash nan Models Component 0: SkyModel @@ -1089,8 +1089,8 @@ map, omit the region argument. Component 1: FoVBackgroundModel - Name : haYvMPDK-bkg - Datasets names : ['haYvMPDK'] + Name : TmQYLpS6-bkg + Datasets names : ['TmQYLpS6'] Spectral model type : PowerLawNormSpectralModel Parameters: norm : 1.000 +/- 0.00 @@ -1099,8 +1099,8 @@ map, omit the region argument. Component 2: FoVBackgroundModel - Name : a4h3OOjw-bkg - Datasets names : ['a4h3OOjw'] + Name : 77NFDsOK-bkg + Datasets names : ['77NFDsOK'] Spectral model type : PowerLawNormSpectralModel Parameters: norm : 1.000 +/- 0.00 @@ -1109,8 +1109,8 @@ map, omit the region argument. Component 3: FoVBackgroundModel - Name : V-EnbDBe-bkg - Datasets names : ['V-EnbDBe'] + Name : 5hin2l8F-bkg + Datasets names : ['5hin2l8F'] Spectral model type : PowerLawNormSpectralModel Parameters: norm : 1.000 +/- 0.00 @@ -1225,8 +1225,8 @@ Check best-fit parameters and error estimates: Component 1: FoVBackgroundModel - Name : haYvMPDK-bkg - Datasets names : ['haYvMPDK'] + Name : TmQYLpS6-bkg + Datasets names : ['TmQYLpS6'] Spectral model type : PowerLawNormSpectralModel Parameters: norm : 1.118 +/- 0.01 @@ -1235,8 +1235,8 @@ Check best-fit parameters and error estimates: Component 2: FoVBackgroundModel - Name : a4h3OOjw-bkg - Datasets names : ['a4h3OOjw'] + Name : 77NFDsOK-bkg + Datasets names : ['77NFDsOK'] Spectral model type : PowerLawNormSpectralModel Parameters: norm : 1.119 +/- 0.01 @@ -1245,8 +1245,8 @@ Check best-fit parameters and error estimates: Component 3: FoVBackgroundModel - Name : V-EnbDBe-bkg - Datasets names : ['V-EnbDBe'] + Name : 5hin2l8F-bkg + Datasets names : ['5hin2l8F'] Spectral model type : PowerLawNormSpectralModel Parameters: norm : 1.111 +/- 0.01 @@ -1375,7 +1375,7 @@ Exercises .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 32.501 seconds) + **Total running time of the script:** (0 minutes 31.053 seconds) .. _sphx_glr_download_tutorials_analysis-3d_analysis_3d.py: diff --git a/docs/dev/_sources/tutorials/analysis-3d/analysis_mwl.rst.txt b/docs/dev/_sources/tutorials/analysis-3d/analysis_mwl.rst.txt index b188d405594..aeea7f8084f 100644 --- a/docs/dev/_sources/tutorials/analysis-3d/analysis_mwl.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-3d/analysis_mwl.rst.txt @@ -123,7 +123,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-3d/cta_data_analysis.rst.txt b/docs/dev/_sources/tutorials/analysis-3d/cta_data_analysis.rst.txt index 548cc16131f..45777a9d67a 100644 --- a/docs/dev/_sources/tutorials/analysis-3d/cta_data_analysis.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-3d/cta_data_analysis.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 @@ -819,7 +819,7 @@ profile to compute the flux and flux error.
Table length=5 -
e_refe_mine_maxdndednde_errpdnde_errndnde_ulsqrt_tsis_ul
GeVGeVGeV1 / (cm2 GeV s)1 / (cm2 GeV s)1 / (cm2 GeV s)1 / (cm2 GeV s)
float64float64float64float64float64float64float64float32bool
+
@@ -913,7 +913,7 @@ What next? .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 18.175 seconds) + **Total running time of the script:** (0 minutes 17.462 seconds) .. _sphx_glr_download_tutorials_analysis-3d_cta_data_analysis.py: diff --git a/docs/dev/_sources/tutorials/analysis-3d/energy_dependent_estimation.rst.txt b/docs/dev/_sources/tutorials/analysis-3d/energy_dependent_estimation.rst.txt index f8d007b04eb..7898079e78c 100644 --- a/docs/dev/_sources/tutorials/analysis-3d/energy_dependent_estimation.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-3d/energy_dependent_estimation.rst.txt @@ -126,7 +126,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 @@ -482,7 +482,7 @@ Plotting the results .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 20.735 seconds) + **Total running time of the script:** (0 minutes 18.517 seconds) .. _sphx_glr_download_tutorials_analysis-3d_energy_dependent_estimation.py: diff --git a/docs/dev/_sources/tutorials/analysis-3d/event_sampling.rst.txt b/docs/dev/_sources/tutorials/analysis-3d/event_sampling.rst.txt index 986f40cfbf4..17046cf57a2 100644 --- a/docs/dev/_sources/tutorials/analysis-3d/event_sampling.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-3d/event_sampling.rst.txt @@ -174,7 +174,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 @@ -1077,7 +1077,7 @@ Exercises .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 20.687 seconds) + **Total running time of the script:** (0 minutes 22.106 seconds) .. _sphx_glr_download_tutorials_analysis-3d_event_sampling.py: diff --git a/docs/dev/_sources/tutorials/analysis-3d/event_sampling_nrg_depend_models.rst.txt b/docs/dev/_sources/tutorials/analysis-3d/event_sampling_nrg_depend_models.rst.txt index 21c23454a52..03312c24eae 100644 --- a/docs/dev/_sources/tutorials/analysis-3d/event_sampling_nrg_depend_models.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-3d/event_sampling_nrg_depend_models.rst.txt @@ -125,7 +125,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-3d/flux_profiles.rst.txt b/docs/dev/_sources/tutorials/analysis-3d/flux_profiles.rst.txt index 8bf33b793fc..ff95e7bac74 100644 --- a/docs/dev/_sources/tutorials/analysis-3d/flux_profiles.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-3d/flux_profiles.rst.txt @@ -131,7 +131,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 @@ -374,11 +374,11 @@ We can see the full configuration by printing the estimator object: -------------------- energy_edges : [ 10. 2000.] GeV - fit : + fit : n_jobs : None n_sigma : 1 n_sigma_ul : 2 - norm : Parameter(name='norm', value=1.0, factor=1.0, scale=1.0, unit=Unit(dimensionless), min=nan, max=nan, frozen=False, prior=None, id=0x7f9befbfa340) + norm : Parameter(name='norm', value=1.0, factor=1.0, scale=1.0, unit=Unit(dimensionless), min=nan, max=nan, frozen=False, prior=None, id=0x7f8c4c087d30) null_value : 0 parallel_backend : None reoptimize : False @@ -826,7 +826,7 @@ And now plot the points together with the likelihood profiles: .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 20.720 seconds) + **Total running time of the script:** (0 minutes 19.171 seconds) .. _sphx_glr_download_tutorials_analysis-3d_flux_profiles.py: diff --git a/docs/dev/_sources/tutorials/analysis-3d/sg_execution_times.rst.txt b/docs/dev/_sources/tutorials/analysis-3d/sg_execution_times.rst.txt index 16ae994e3ef..d928de1d298 100644 --- a/docs/dev/_sources/tutorials/analysis-3d/sg_execution_times.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-3d/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**02:12.390** total execution time for 8 files **from tutorials/analysis-3d**: +**02:06.514** total execution time for 8 files **from tutorials/analysis-3d**: .. container:: @@ -33,26 +33,26 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_analysis-3d_analysis_3d.py` (``analysis_3d.py``) - - 00:32.501 + - 00:31.053 - 0.0 - * - :ref:`sphx_glr_tutorials_analysis-3d_energy_dependent_estimation.py` (``energy_dependent_estimation.py``) - - 00:20.735 + * - :ref:`sphx_glr_tutorials_analysis-3d_event_sampling.py` (``event_sampling.py``) + - 00:22.106 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-3d_flux_profiles.py` (``flux_profiles.py``) - - 00:20.720 + - 00:19.171 - 0.0 - * - :ref:`sphx_glr_tutorials_analysis-3d_event_sampling.py` (``event_sampling.py``) - - 00:20.687 + * - :ref:`sphx_glr_tutorials_analysis-3d_energy_dependent_estimation.py` (``energy_dependent_estimation.py``) + - 00:18.517 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-3d_cta_data_analysis.py` (``cta_data_analysis.py``) - - 00:18.175 + - 00:17.462 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-3d_simulate_3d.py` (``simulate_3d.py``) - - 00:10.093 + - 00:09.478 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-3d_analysis_mwl.py` (``analysis_mwl.py``) - - 00:06.243 + - 00:05.838 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-3d_event_sampling_nrg_depend_models.py` (``event_sampling_nrg_depend_models.py``) - - 00:03.237 + - 00:02.890 - 0.0 diff --git a/docs/dev/_sources/tutorials/analysis-3d/simulate_3d.rst.txt b/docs/dev/_sources/tutorials/analysis-3d/simulate_3d.rst.txt index aacd973c99f..fa3b93a3550 100644 --- a/docs/dev/_sources/tutorials/analysis-3d/simulate_3d.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-3d/simulate_3d.rst.txt @@ -303,9 +303,9 @@ the `selection` of the maps that you want to produce Name : dataset-simu - Total counts : 169014 + Total counts : 169460 Total background counts : 161250.95 - Total excess counts : 7763.05 + Total excess counts : 8209.05 Predicted counts : 169871.61 Predicted background counts : 161250.95 @@ -318,7 +318,7 @@ the `selection` of the maps that you want to produce Number of fit bins : 804492 Fit statistic type : cash - Fit statistic value (-2 log(L)) : 561464.87 + Fit statistic value (-2 log(L)) : 561596.34 Number of models : 2 Number of parameters : 11 @@ -537,12 +537,12 @@ Compare the injected and fitted models: Spatial model type : GaussianSpatialModel Temporal model type : Parameters: - index : 3.028 +/- 0.02 - amplitude : 9.09e-12 +/- 3.2e-13 1 / (cm2 s TeV) + index : 3.008 +/- 0.02 + amplitude : 9.84e-12 +/- 3.2e-13 1 / (cm2 s TeV) reference (frozen): 1.000 TeV - lon_0 : 0.199 +/- 0.01 deg - lat_0 : 0.096 +/- 0.01 deg - sigma : 0.297 +/- 0.00 deg + lon_0 : 0.202 +/- 0.01 deg + lat_0 : 0.097 +/- 0.01 deg + sigma : 0.295 +/- 0.00 deg e (frozen): 0.000 phi (frozen): 0.000 deg @@ -572,12 +572,12 @@ Get the errors on the fitted parameters from the parameter table type name value unit error ... frozen is_norm link prior ---- --------- ---------- -------------- --------- ... ------ ------- ---- ----- - index 3.0277e+00 2.091e-02 ... False False - amplitude 9.0858e-12 cm-2 s-1 TeV-1 3.198e-13 ... False True + index 3.0079e+00 1.966e-02 ... False False + amplitude 9.8395e-12 cm-2 s-1 TeV-1 3.239e-13 ... False True reference 1.0000e+00 TeV 0.000e+00 ... True False - lon_0 1.9944e-01 deg 6.044e-03 ... False False - lat_0 9.5783e-02 deg 6.047e-03 ... False False - sigma 2.9733e-01 deg 4.145e-03 ... False False + lon_0 2.0154e-01 deg 5.782e-03 ... False False + lat_0 9.7415e-02 deg 5.710e-03 ... False False + sigma 2.9526e-01 deg 3.884e-03 ... False False e 0.0000e+00 0.000e+00 ... True False phi 0.0000e+00 deg 0.000e+00 ... True False norm 1.0000e+00 0.000e+00 ... True True @@ -588,11 +588,6 @@ Get the errors on the fitted parameters from the parameter table -.. rst-class:: sphx-glr-timing - - **Total running time of the script:** (0 minutes 10.093 seconds) - - .. _sphx_glr_download_tutorials_analysis-3d_simulate_3d.py: .. only:: html diff --git a/docs/dev/_sources/tutorials/analysis-time/Variability_estimation.rst.txt b/docs/dev/_sources/tutorials/analysis-time/Variability_estimation.rst.txt index fed0bbdf581..c41301f0ab0 100644 --- a/docs/dev/_sources/tutorials/analysis-time/Variability_estimation.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-time/Variability_estimation.rst.txt @@ -438,7 +438,7 @@ with the original light curve start and end points. .. code-block:: none - + diff --git a/docs/dev/_sources/tutorials/analysis-time/light_curve.rst.txt b/docs/dev/_sources/tutorials/analysis-time/light_curve.rst.txt index b268d35faaa..7074344f1b2 100644 --- a/docs/dev/_sources/tutorials/analysis-time/light_curve.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-time/light_curve.rst.txt @@ -131,7 +131,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 @@ -633,9 +633,9 @@ Extracting the light curve TeV ... ------------------ ----------------- ------------------ ... ----------- ------- 53343.92234009259 53343.94186555556 3.4517490659800822 ... nan .. nan True - 53343.95421509259 53343.97369425926 3.4517490659800822 ... nan .. 71.0 True - 53345.9619812963 53345.98149518519 3.4517490659800822 ... nan .. nan True - 53347.913196574074 53347.93271046296 3.4517490659800822 ... 59.0 .. nan True + 53343.95421509259 53343.97369425926 3.4517490659800822 ... nan .. nan True + 53345.9619812963 53345.98149518519 3.4517490659800822 ... 51.0 .. nan True + 53347.913196574074 53347.93271046296 3.4517490659800822 ... nan .. 59.0 True diff --git a/docs/dev/_sources/tutorials/analysis-time/light_curve_flare.rst.txt b/docs/dev/_sources/tutorials/analysis-time/light_curve_flare.rst.txt index 5f3735e3454..c3eb60f1e36 100644 --- a/docs/dev/_sources/tutorials/analysis-time/light_curve_flare.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-time/light_curve_flare.rst.txt @@ -149,7 +149,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 @@ -627,7 +627,7 @@ Here, we rebin 4 adjacent bins together, to get 30 min bins .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 34.599 seconds) + **Total running time of the script:** (0 minutes 32.466 seconds) .. _sphx_glr_download_tutorials_analysis-time_light_curve_flare.py: diff --git a/docs/dev/_sources/tutorials/analysis-time/light_curve_simulation.rst.txt b/docs/dev/_sources/tutorials/analysis-time/light_curve_simulation.rst.txt index 9ccf8ad5969..042891985af 100644 --- a/docs/dev/_sources/tutorials/analysis-time/light_curve_simulation.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-time/light_curve_simulation.rst.txt @@ -167,7 +167,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 @@ -413,16 +413,16 @@ quick look into our datasets. name counts excess ... n_fit_bins stat_type stat_sum ... --------- ------ ------------------ ... ---------- --------- ------------------- - dataset-0 805 784.6812310184489 ... 9 cash -6406.5487540981385 - dataset-1 327 317.76419591747674 ... 9 cash -2027.2275230625394 - dataset-2 284 274.3947637541758 ... 9 cash -1695.2890901170642 - dataset-3 310 295.2227134679628 ... 9 cash -1862.4040346523975 - dataset-4 206 191.22271346796282 ... 9 cash -1051.8635091105637 - dataset-5 194 175.52839183495354 ... 9 cash -1035.3223953247114 - dataset-6 40 25.22271346796283 ... 9 cash -82.4603698412163 - dataset-7 44 24.78952750835169 ... 9 cash -78.53878248736507 - dataset-8 28 12.114416978060046 ... 9 cash -32.1195039600197 - dataset-9 33 15.636688324856333 ... 9 cash -63.65684312295258 + dataset-0 831 810.6812310184489 ... 9 cash -6798.126644056203 + dataset-1 358 348.76419591747674 ... 9 cash -2306.4939438753945 + dataset-2 306 296.3947637541758 ... 9 cash -1840.0131366592896 + dataset-3 314 299.2227134679628 ... 9 cash -1894.473289076225 + dataset-4 196 181.22271346796282 ... 9 cash -1029.1860486837138 + dataset-5 180 161.52839183495354 ... 9 cash -935.3592490931674 + dataset-6 37 22.22271346796283 ... 9 cash -59.79251210226733 + dataset-7 46 26.78952750835169 ... 9 cash -114.19046493198925 + dataset-8 41 25.114416978060046 ... 9 cash -94.14514475975939 + dataset-9 24 6.636688324856333 ... 9 cash 1.0737622752831832 @@ -572,10 +572,10 @@ that ``t_ref`` should be fixed by default for the Name : dataset_lc Number of total flux points : 30 - Number of fit bins : 25 + Number of fit bins : 26 Fit statistic type : chi2 - Fit statistic value (-2 log(L)) : 1466.33 + Fit statistic value (-2 log(L)) : 1533.99 Number of models : 1 Number of parameters : 5 @@ -623,10 +623,10 @@ Fit the dataset type name value unit error ... frozen is_norm link prior ---- --------- ---------- -------------- --------- ... ------ ------- ---- ----- - index 2.9968e+00 2.780e-02 ... False False - amplitude 9.6499e-12 cm-2 s-1 TeV-1 3.211e-13 ... False True + index 3.0319e+00 2.835e-02 ... False False + amplitude 1.0068e-11 cm-2 s-1 TeV-1 3.443e-13 ... False True reference 1.0000e+00 TeV 0.000e+00 ... True False - t0 6.1508e+00 h 2.222e-01 ... False False + t0 5.9450e+00 h 2.246e-01 ... False False t_ref 5.8909e+04 d 0.000e+00 ... True False @@ -739,10 +739,10 @@ Perform a joint fit type name value unit error ... frozen is_norm link prior ---- --------- ---------- -------------- --------- ... ------ ------- ---- ----- - index 2.9711e+00 3.174e-02 ... False False - amplitude 9.8073e-12 cm-2 s-1 TeV-1 3.375e-13 ... False True + index 3.0378e+00 3.223e-02 ... False False + amplitude 1.0117e-11 cm-2 s-1 TeV-1 3.520e-13 ... False True reference 1.0000e+00 TeV 0.000e+00 ... True False - t0 6.1322e+00 h 2.099e-01 ... False False + t0 5.8799e+00 h 2.016e-01 ... False False t_ref 5.8909e+04 d 0.000e+00 ... True False @@ -769,7 +769,7 @@ Exercises .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 18.908 seconds) + **Total running time of the script:** (0 minutes 16.854 seconds) .. _sphx_glr_download_tutorials_analysis-time_light_curve_simulation.py: diff --git a/docs/dev/_sources/tutorials/analysis-time/pulsar_analysis.rst.txt b/docs/dev/_sources/tutorials/analysis-time/pulsar_analysis.rst.txt index faa016890d0..20be7f7d9a4 100644 --- a/docs/dev/_sources/tutorials/analysis-time/pulsar_analysis.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-time/pulsar_analysis.rst.txt @@ -117,7 +117,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-time/sg_execution_times.rst.txt b/docs/dev/_sources/tutorials/analysis-time/sg_execution_times.rst.txt index 57ca40fdee6..2537189c7c4 100644 --- a/docs/dev/_sources/tutorials/analysis-time/sg_execution_times.rst.txt +++ b/docs/dev/_sources/tutorials/analysis-time/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**01:07.449** total execution time for 5 files **from tutorials/analysis-time**: +**01:02.140** total execution time for 5 files **from tutorials/analysis-time**: .. container:: @@ -33,17 +33,17 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_analysis-time_light_curve_flare.py` (``light_curve_flare.py``) - - 00:34.599 + - 00:32.466 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-time_light_curve_simulation.py` (``light_curve_simulation.py``) - - 00:18.908 + - 00:16.854 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-time_light_curve.py` (``light_curve.py``) - - 00:06.659 + - 00:06.151 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-time_pulsar_analysis.py` (``pulsar_analysis.py``) - - 00:06.600 + - 00:06.106 - 0.0 * - :ref:`sphx_glr_tutorials_analysis-time_Variability_estimation.py` (``Variability_estimation.py``) - - 00:00.683 + - 00:00.562 - 0.0 diff --git a/docs/dev/_sources/tutorials/api/astro_dark_matter.rst.txt b/docs/dev/_sources/tutorials/api/astro_dark_matter.rst.txt index 2152ae0b04d..e63182cd4c0 100644 --- a/docs/dev/_sources/tutorials/api/astro_dark_matter.rst.txt +++ b/docs/dev/_sources/tutorials/api/astro_dark_matter.rst.txt @@ -106,7 +106,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 @@ -478,7 +478,7 @@ Finally flux maps for decay can be produced like this: .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 28.749 seconds) + **Total running time of the script:** (0 minutes 27.939 seconds) .. _sphx_glr_download_tutorials_api_astro_dark_matter.py: diff --git a/docs/dev/_sources/tutorials/api/catalog.rst.txt b/docs/dev/_sources/tutorials/api/catalog.rst.txt index 10548e13266..1c1180f4683 100644 --- a/docs/dev/_sources/tutorials/api/catalog.rst.txt +++ b/docs/dev/_sources/tutorials/api/catalog.rst.txt @@ -118,7 +118,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/api/datasets.rst.txt b/docs/dev/_sources/tutorials/api/datasets.rst.txt index f4179f870f8..35aa96e1a5b 100644 --- a/docs/dev/_sources/tutorials/api/datasets.rst.txt +++ b/docs/dev/_sources/tutorials/api/datasets.rst.txt @@ -103,7 +103,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 @@ -297,7 +297,7 @@ To see the geometry of each map, we can use: .. code-block:: none - {'geom': , 'geom_exposure': , 'geom_psf': , 'geom_edisp': } + {'geom': , 'geom_exposure': , 'geom_psf': , 'geom_edisp': } @@ -1883,7 +1883,7 @@ Or slice all datasets by a given energy range: .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 14.938 seconds) + **Total running time of the script:** (0 minutes 12.784 seconds) .. _sphx_glr_download_tutorials_api_datasets.py: diff --git a/docs/dev/_sources/tutorials/api/fitting.rst.txt b/docs/dev/_sources/tutorials/api/fitting.rst.txt index 64fe5617d6c..d83b675b41c 100644 --- a/docs/dev/_sources/tutorials/api/fitting.rst.txt +++ b/docs/dev/_sources/tutorials/api/fitting.rst.txt @@ -107,7 +107,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 @@ -1111,7 +1111,7 @@ in. .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 11.541 seconds) + **Total running time of the script:** (0 minutes 10.993 seconds) .. _sphx_glr_download_tutorials_api_fitting.py: diff --git a/docs/dev/_sources/tutorials/api/makers.rst.txt b/docs/dev/_sources/tutorials/api/makers.rst.txt index 94218777447..62318117edc 100644 --- a/docs/dev/_sources/tutorials/api/makers.rst.txt +++ b/docs/dev/_sources/tutorials/api/makers.rst.txt @@ -99,7 +99,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 @@ -175,7 +175,7 @@ object. This is illustrated in the following example: MapDataset ---------- - Name : Fp-D9O6a + Name : aISfSQny Total counts : 0 Total background counts : 0.00 @@ -346,7 +346,7 @@ observational data using the `~gammapy.makers.MapDatasetMaker`: MapDataset ---------- - Name : VLVbmp0S + Name : dspsP3PN Total counts : 2016 Total background counts : 1866.72 @@ -598,7 +598,7 @@ dataset per observation is stacked into a larger map. MapDataset ---------- - Name : t5-uxtvf + Name : AEuO7ULh Total counts : 7972 Total background counts : 7555.42 @@ -673,30 +673,30 @@ allow to use multiple processes on run. Dataset 0: Type : MapDataset - Name : dR1Vfxrg + Name : PG_DHvII Instrument : HESS - Models : ['dR1Vfxrg-bkg'] + Models : ['PG_DHvII-bkg'] Dataset 1: Type : MapDataset - Name : Zry0nROZ + Name : 6e0MQ65o Instrument : HESS - Models : ['Zry0nROZ-bkg'] + Models : ['6e0MQ65o-bkg'] Dataset 2: Type : MapDataset - Name : -aJNqvk6 + Name : XMmA30ae Instrument : HESS - Models : ['-aJNqvk6-bkg'] + Models : ['XMmA30ae-bkg'] Dataset 3: Type : MapDataset - Name : J0Nd4hww + Name : YNWc5dXS Instrument : HESS - Models : ['J0Nd4hww-bkg'] + Models : ['YNWc5dXS-bkg'] @@ -958,7 +958,7 @@ use `get_by_coord` .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 14.997 seconds) + **Total running time of the script:** (0 minutes 13.961 seconds) .. _sphx_glr_download_tutorials_api_makers.py: diff --git a/docs/dev/_sources/tutorials/api/maps.rst.txt b/docs/dev/_sources/tutorials/api/maps.rst.txt index d28d02e1cd9..daffe3e7953 100644 --- a/docs/dev/_sources/tutorials/api/maps.rst.txt +++ b/docs/dev/_sources/tutorials/api/maps.rst.txt @@ -130,7 +130,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/api/mask_maps.rst.txt b/docs/dev/_sources/tutorials/api/mask_maps.rst.txt index 8be33ce71e3..9adcdfd02a7 100644 --- a/docs/dev/_sources/tutorials/api/mask_maps.rst.txt +++ b/docs/dev/_sources/tutorials/api/mask_maps.rst.txt @@ -163,7 +163,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/api/model_management.rst.txt b/docs/dev/_sources/tutorials/api/model_management.rst.txt index a1398e3f48d..a6e95d1bd98 100644 --- a/docs/dev/_sources/tutorials/api/model_management.rst.txt +++ b/docs/dev/_sources/tutorials/api/model_management.rst.txt @@ -135,7 +135,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/api/models.rst.txt b/docs/dev/_sources/tutorials/api/models.rst.txt index 737bdd28e39..7c8fb0238bb 100644 --- a/docs/dev/_sources/tutorials/api/models.rst.txt +++ b/docs/dev/_sources/tutorials/api/models.rst.txt @@ -95,7 +95,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 @@ -1198,7 +1198,7 @@ generated: .. code-block:: none - GMYzyAOG + nBDpRcYY @@ -1392,7 +1392,7 @@ existing FITS file: SkyModel - Name : -BbV2sVq + Name : S7L-Jr2X Datasets names : None Spectral model type : PowerLawNormSpectralModel Spatial model type : TemplateSpatialModel @@ -1530,7 +1530,7 @@ multiple model components, Gammapy has a `~gammapy.modeling.models.Models` class Component 1: SkyModel - Name : -BbV2sVq + Name : S7L-Jr2X Datasets names : None Spectral model type : PowerLawNormSpectralModel Spatial model type : TemplateSpatialModel @@ -1616,7 +1616,7 @@ To see which models are available you can use the ``.names`` attribute: .. code-block:: none - ['my-source', '-BbV2sVq'] + ['my-source', 'S7L-Jr2X'] @@ -1717,7 +1717,7 @@ format: value: 2.0 unit: d scale: utc - - name: -BbV2sVq + - name: S7L-Jr2X type: SkyModel spectral: type: PowerLawNormSpectralModel @@ -1786,8 +1786,8 @@ format: unit: d scale: utc metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:16:08.344023' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:08:41.922216' origin: null @@ -1864,8 +1864,8 @@ amplitudes: .. code-block:: none - Parameter(name='index', value=2.3, factor=2.3, scale=1.0, unit=Unit(dimensionless), min=1.0, max=5.0, frozen=False, prior=None, id=0x7f9c24ce1fd0) - Parameter(name='index', value=2.3, factor=2.3, scale=1.0, unit=Unit(dimensionless), min=1.0, max=5.0, frozen=False, prior=None, id=0x7f9c24ce1fd0) + Parameter(name='index', value=2.3, factor=2.3, scale=1.0, unit=Unit(dimensionless), min=1.0, max=5.0, frozen=False, prior=None, id=0x7f8c4d4e0190) + Parameter(name='index', value=2.3, factor=2.3, scale=1.0, unit=Unit(dimensionless), min=1.0, max=5.0, frozen=False, prior=None, id=0x7f8c4d4e0190) @@ -1904,7 +1904,7 @@ In the YAML files the shared parameter is flagged by the additional value: 2.3 min: 1.0 max: 5.0 - link: index@Ew2AOj6_ + link: index@MZQ0v1TJ - name: amplitude value: 2.7e-12 unit: cm-2 s-1 TeV-1 @@ -1920,7 +1920,7 @@ In the YAML files the shared parameter is flagged by the additional value: 2.3 min: 1.0 max: 5.0 - link: index@Ew2AOj6_ + link: index@MZQ0v1TJ - name: amplitude value: 1.0e-12 unit: cm-2 s-1 TeV-1 @@ -1928,8 +1928,8 @@ In the YAML files the shared parameter is flagged by the additional value: 1.0 unit: TeV metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:16:08.534366' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:08:42.103575' origin: null diff --git a/docs/dev/_sources/tutorials/api/observation_clustering.rst.txt b/docs/dev/_sources/tutorials/api/observation_clustering.rst.txt index 7cd72207634..30b8364d9b8 100644 --- a/docs/dev/_sources/tutorials/api/observation_clustering.rst.txt +++ b/docs/dev/_sources/tutorials/api/observation_clustering.rst.txt @@ -202,7 +202,7 @@ be adjusted according to each specific science case. .. code-block:: none - {'group_high_zenith': , 'group_low_zenith': } + {'group_high_zenith': , 'group_low_zenith': } @@ -482,7 +482,7 @@ Finally, ``observations.group_by_label`` creates a dictionary containing ``t`` .. code-block:: none - {'group_1': , 'group_2': } + {'group_1': , 'group_2': } diff --git a/docs/dev/_sources/tutorials/api/priors.rst.txt b/docs/dev/_sources/tutorials/api/priors.rst.txt index 85122729eac..f3a3851c558 100644 --- a/docs/dev/_sources/tutorials/api/priors.rst.txt +++ b/docs/dev/_sources/tutorials/api/priors.rst.txt @@ -135,7 +135,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 @@ -724,14 +724,14 @@ The only parameter is ``sigma`` and the evaluation method return the squared inv {'spectral': {'type': 'PowerLawSpectralModel', 'parameters': [{'name': 'index', 'value': 2.0, 'prior': {'type': 'MyCustomPrior', 'parameters': [{'name': 'sigma', 'value': 0.5, 'unit': ''}], 'weight': 1}}, {'name': 'amplitude', 'value': 1e-12, 'unit': 'cm-2 s-1 TeV-1'}, {'name': 'reference', 'value': 1.0, 'unit': 'TeV'}]}} - [<__main__.MyCustomPrior object at 0x7f9bec501ac0>, None, None] + [<__main__.MyCustomPrior object at 0x7f8c2e958af0>, None, None] .. rst-class:: sphx-glr-timing - **Total running time of the script:** (1 minutes 3.532 seconds) + **Total running time of the script:** (1 minutes 12.477 seconds) .. _sphx_glr_download_tutorials_api_priors.py: diff --git a/docs/dev/_sources/tutorials/api/sg_execution_times.rst.txt b/docs/dev/_sources/tutorials/api/sg_execution_times.rst.txt index 933e0f795b9..25e55a2202d 100644 --- a/docs/dev/_sources/tutorials/api/sg_execution_times.rst.txt +++ b/docs/dev/_sources/tutorials/api/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**02:45.297** total execution time for 12 files **from tutorials/api**: +**02:46.543** total execution time for 12 files **from tutorials/api**: .. container:: @@ -33,38 +33,38 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_api_priors.py` (``priors.py``) - - 01:03.532 + - 01:12.477 - 0.0 * - :ref:`sphx_glr_tutorials_api_astro_dark_matter.py` (``astro_dark_matter.py``) - - 00:28.749 + - 00:27.939 - 0.0 * - :ref:`sphx_glr_tutorials_api_makers.py` (``makers.py``) - - 00:14.997 + - 00:13.961 - 0.0 * - :ref:`sphx_glr_tutorials_api_datasets.py` (``datasets.py``) - - 00:14.938 + - 00:12.784 - 0.0 * - :ref:`sphx_glr_tutorials_api_fitting.py` (``fitting.py``) - - 00:11.541 + - 00:10.993 - 0.0 * - :ref:`sphx_glr_tutorials_api_model_management.py` (``model_management.py``) - - 00:08.577 + - 00:08.293 - 0.0 * - :ref:`sphx_glr_tutorials_api_catalog.py` (``catalog.py``) - - 00:06.284 + - 00:05.992 - 0.0 * - :ref:`sphx_glr_tutorials_api_observation_clustering.py` (``observation_clustering.py``) - - 00:04.171 + - 00:03.863 - 0.0 * - :ref:`sphx_glr_tutorials_api_irfs.py` (``irfs.py``) - - 00:04.065 + - 00:03.386 - 0.0 * - :ref:`sphx_glr_tutorials_api_models.py` (``models.py``) - - 00:03.277 + - 00:02.571 - 0.0 * - :ref:`sphx_glr_tutorials_api_maps.py` (``maps.py``) - - 00:02.801 + - 00:02.340 - 0.0 * - :ref:`sphx_glr_tutorials_api_mask_maps.py` (``mask_maps.py``) - - 00:02.366 + - 00:01.945 - 0.0 diff --git a/docs/dev/_sources/tutorials/data/cta.rst.txt b/docs/dev/_sources/tutorials/data/cta.rst.txt index 9759881de47..31954c46900 100644 --- a/docs/dev/_sources/tutorials/data/cta.rst.txt +++ b/docs/dev/_sources/tutorials/data/cta.rst.txt @@ -131,7 +131,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 @@ -523,7 +523,7 @@ Notes: /home/runner/work/gammapy-docs/gammapy-docs/gammapy/.tox/build_docs/lib/python3.9/site-packages/astropy/units/core.py:2097: UnitsWarning: '1/s/MeV/sr' did not parse as fits unit: Numeric factor not supported by FITS If this is meant to be a custom unit, define it with 'u.def_unit'. To have it recognized inside a file reader or other code, enable it with 'u.add_enabled_units'. For details, see https://docs.astropy.org/en/latest/units/combining_and_defining.html warnings.warn(msg, UnitsWarning) - {'aeff': , 'psf': , 'edisp': , 'bkg': } + {'aeff': , 'psf': , 'edisp': , 'bkg': } diff --git a/docs/dev/_sources/tutorials/data/fermi_lat.rst.txt b/docs/dev/_sources/tutorials/data/fermi_lat.rst.txt index 056c4adce1a..6f0c576d71c 100644 --- a/docs/dev/_sources/tutorials/data/fermi_lat.rst.txt +++ b/docs/dev/_sources/tutorials/data/fermi_lat.rst.txt @@ -140,7 +140,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/data/hawc.rst.txt b/docs/dev/_sources/tutorials/data/hawc.rst.txt index 068eb7eab19..26c981f921d 100644 --- a/docs/dev/_sources/tutorials/data/hawc.rst.txt +++ b/docs/dev/_sources/tutorials/data/hawc.rst.txt @@ -111,7 +111,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/data/hess.rst.txt b/docs/dev/_sources/tutorials/data/hess.rst.txt index 9fdd156e80a..1e8f5ad6cb6 100644 --- a/docs/dev/_sources/tutorials/data/hess.rst.txt +++ b/docs/dev/_sources/tutorials/data/hess.rst.txt @@ -111,7 +111,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/data/sg_execution_times.rst.txt b/docs/dev/_sources/tutorials/data/sg_execution_times.rst.txt index 770474ecf64..21318880144 100644 --- a/docs/dev/_sources/tutorials/data/sg_execution_times.rst.txt +++ b/docs/dev/_sources/tutorials/data/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**00:23.491** total execution time for 4 files **from tutorials/data**: +**00:22.128** total execution time for 4 files **from tutorials/data**: .. container:: @@ -33,14 +33,14 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_data_hawc.py` (``hawc.py``) - - 00:07.468 + - 00:06.992 - 0.0 * - :ref:`sphx_glr_tutorials_data_fermi_lat.py` (``fermi_lat.py``) - - 00:06.703 + - 00:06.198 - 0.0 * - :ref:`sphx_glr_tutorials_data_cta.py` (``cta.py``) - - 00:05.550 + - 00:05.412 - 0.0 * - :ref:`sphx_glr_tutorials_data_hess.py` (``hess.py``) - - 00:03.770 + - 00:03.526 - 0.0 diff --git a/docs/dev/_sources/tutorials/scripts/sg_execution_times.rst.txt b/docs/dev/_sources/tutorials/scripts/sg_execution_times.rst.txt index 31ba877c0a9..2ecab693229 100644 --- a/docs/dev/_sources/tutorials/scripts/sg_execution_times.rst.txt +++ b/docs/dev/_sources/tutorials/scripts/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**00:02.612** total execution time for 1 file **from tutorials/scripts**: +**00:02.477** total execution time for 1 file **from tutorials/scripts**: .. container:: @@ -33,5 +33,5 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_scripts_survey_map.py` (``survey_map.py``) - - 00:02.612 + - 00:02.477 - 0.0 diff --git a/docs/dev/_sources/tutorials/starting/analysis_1.rst.txt b/docs/dev/_sources/tutorials/starting/analysis_1.rst.txt index 5f0ba55cb27..858e1a992f8 100644 --- a/docs/dev/_sources/tutorials/starting/analysis_1.rst.txt +++ b/docs/dev/_sources/tutorials/starting/analysis_1.rst.txt @@ -138,7 +138,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 @@ -1070,8 +1070,8 @@ This is how we can write the model back to file again: unit: TeV covariance: model-best-fit_covariance.dat metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:09:06.228159' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:52.669789' origin: null @@ -1224,7 +1224,7 @@ You can see how to perform a 1D spectral analysis of the same data in .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 12.827 seconds) + **Total running time of the script:** (0 minutes 12.292 seconds) .. _sphx_glr_download_tutorials_starting_analysis_1.py: diff --git a/docs/dev/_sources/tutorials/starting/analysis_2.rst.txt b/docs/dev/_sources/tutorials/starting/analysis_2.rst.txt index e1a043c2c5b..8437b633262 100644 --- a/docs/dev/_sources/tutorials/starting/analysis_2.rst.txt +++ b/docs/dev/_sources/tutorials/starting/analysis_2.rst.txt @@ -155,7 +155,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/starting/overview.rst.txt b/docs/dev/_sources/tutorials/starting/overview.rst.txt index 99607534fd3..5284268cbd3 100644 --- a/docs/dev/_sources/tutorials/starting/overview.rst.txt +++ b/docs/dev/_sources/tutorials/starting/overview.rst.txt @@ -137,7 +137,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/starting/sg_execution_times.rst.txt b/docs/dev/_sources/tutorials/starting/sg_execution_times.rst.txt index eb895378f4e..ba7767e1f13 100644 --- a/docs/dev/_sources/tutorials/starting/sg_execution_times.rst.txt +++ b/docs/dev/_sources/tutorials/starting/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**00:21.265** total execution time for 3 files **from tutorials/starting**: +**00:20.288** total execution time for 3 files **from tutorials/starting**: .. container:: @@ -33,11 +33,11 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_starting_analysis_1.py` (``analysis_1.py``) - - 00:12.827 + - 00:12.292 - 0.0 * - :ref:`sphx_glr_tutorials_starting_analysis_2.py` (``analysis_2.py``) - - 00:07.037 + - 00:06.658 - 0.0 * - :ref:`sphx_glr_tutorials_starting_overview.py` (``overview.py``) - - 00:01.400 + - 00:01.338 - 0.0 diff --git a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_constant.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_constant.rst.txt index 0c55c32ed9a..369bceb3b94 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_constant.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_constant.rst.txt @@ -110,8 +110,8 @@ Here is an example YAML file using the model: type: ConstantSpatialModel parameters: [] metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:43.688089' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:32.472827' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_disk.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_disk.rst.txt index c5b71ea6ba6..856c3379dd1 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_disk.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_disk.rst.txt @@ -233,8 +233,8 @@ Here is an example YAML file using the model: - name: edge_width value: 0.01 metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:44.146267' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:32.816313' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_gauss.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_gauss.rst.txt index 590732916ef..48b086ced35 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_gauss.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_gauss.rst.txt @@ -190,8 +190,8 @@ Here is an example YAML file using the model: value: 0.0 unit: deg metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:44.493255' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:33.100590' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_gen_gauss.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_gen_gauss.rst.txt index e6b5d70ad17..767d71dae64 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_gen_gauss.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_gen_gauss.rst.txt @@ -182,8 +182,8 @@ Here is an example YAML file using the model: value: 0.0 unit: deg metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:44.861001' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:33.437072' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_piecewise_norm_spatial.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_piecewise_norm_spatial.rst.txt index d21ec8f2064..6b5d0b2257d 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_piecewise_norm_spatial.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_piecewise_norm_spatial.rst.txt @@ -141,8 +141,8 @@ Here is an example YAML file using the model: - -1.785 unit: deg metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:45.135249' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:33.678186' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_point.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_point.rst.txt index 7b1f0eb269a..33073a863ac 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_point.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_point.rst.txt @@ -133,8 +133,8 @@ Here is an example YAML file using the model: value: 0.0 unit: deg metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:45.470393' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:33.985494' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_shell.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_shell.rst.txt index 6a2c8c91748..45da35f99e9 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_shell.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_shell.rst.txt @@ -145,8 +145,8 @@ Here is an example YAML file using the model: value: 0.2 unit: deg metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:45.756121' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:34.265239' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_shell2.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_shell2.rst.txt index 8b53bdb5897..716a88aead7 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_shell2.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_shell2.rst.txt @@ -157,8 +157,8 @@ Here is an example YAML file using the model: - name: eta value: 0.2 metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:46.040882' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:34.547952' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_template.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_template.rst.txt index 01f6d2418d7..b554426531f 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spatial/plot_template.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spatial/plot_template.rst.txt @@ -129,8 +129,8 @@ Here is an example YAML file using the model: normalize: true unit: 1 / sr metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:46.373782' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:34.872665' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spatial/sg_execution_times.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spatial/sg_execution_times.rst.txt index 399b7fb4b3a..9b5cd929a46 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spatial/sg_execution_times.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spatial/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**00:01.970** total execution time for 9 files **from user-guide/model-gallery/spatial**: +**00:01.978** total execution time for 9 files **from user-guide/model-gallery/spatial**: .. container:: @@ -33,29 +33,29 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_constant.py` (``plot_constant.py``) - - 00:00.344 + - 00:00.419 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_disk.py` (``plot_disk.py``) - - 00:00.327 - - 0.0 - * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_gen_gauss.py` (``plot_gen_gauss.py``) - - 00:00.230 - - 0.0 - * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_gauss.py` (``plot_gauss.py``) - - 00:00.215 + - 00:00.247 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_template.py` (``plot_template.py``) - - 00:00.201 + - 00:00.220 + - 0.0 + * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_gen_gauss.py` (``plot_gen_gauss.py``) + - 00:00.219 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_point.py` (``plot_point.py``) - - 00:00.194 + - 00:00.195 + - 0.0 + * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_gauss.py` (``plot_gauss.py``) + - 00:00.188 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_shell.py` (``plot_shell.py``) - - 00:00.160 + - 00:00.179 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_shell2.py` (``plot_shell2.py``) - - 00:00.155 + - 00:00.173 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_piecewise_norm_spatial.py` (``plot_piecewise_norm_spatial.py``) - - 00:00.144 + - 00:00.138 - 0.0 diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_absorbed.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_absorbed.rst.txt index 4e51c8036e0..bf2c8309654 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_absorbed.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_absorbed.rst.txt @@ -185,8 +185,8 @@ Here is an example YAML file using the model: filename: /home/runner/work/gammapy-docs/gammapy-docs/gammapy-datasets/dev/ebl/ebl_dominguez11.fits.gz operator: mul metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:47.580404' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:36.027947' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_broken_powerlaw.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_broken_powerlaw.rst.txt index 212cc5c4c8d..1a7a8e5bc31 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_broken_powerlaw.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_broken_powerlaw.rst.txt @@ -111,8 +111,8 @@ Here is an example YAML file using the model: value: 1.0 unit: TeV metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:48.108750' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:36.471675' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_compound.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_compound.rst.txt index 716807f9711..65143e5b0bd 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_compound.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_compound.rst.txt @@ -126,8 +126,8 @@ Here is an example YAML file using the model: value: 1.0 operator: add metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:48.582357' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:36.918907' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_constant_spectral.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_constant_spectral.rst.txt index 2506b6f6ca5..4281146e303 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_constant_spectral.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_constant_spectral.rst.txt @@ -92,8 +92,8 @@ Here is an example YAML file using the model: value: 1.0 unit: cm-2 s-1 TeV-1 metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:48.970189' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:37.242616' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw.rst.txt index d176fc91250..c2b7363d228 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw.rst.txt @@ -110,8 +110,8 @@ Here is an example YAML file using the model: - name: alpha value: 1.0 metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:49.324056' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:37.512564' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_3fgl.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_3fgl.rst.txt index 84e562b0c09..c29c1fa2521 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_3fgl.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_3fgl.rst.txt @@ -109,8 +109,8 @@ Here is an example YAML file using the model: value: 10.0 unit: TeV metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:49.665169' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:37.779922' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_norm_spectral.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_norm_spectral.rst.txt index 3dc2272bad6..130c5afe0f8 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_norm_spectral.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_norm_spectral.rst.txt @@ -147,8 +147,8 @@ Here is an example YAML file using the model: value: 1.0 operator: mul metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:50.026525' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:38.061074' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_gauss_spectral.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_gauss_spectral.rst.txt index 119bd71923c..0569e19101b 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_gauss_spectral.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_gauss_spectral.rst.txt @@ -108,8 +108,8 @@ Here is an example YAML file using the model: value: 0.2 unit: TeV metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:50.396125' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:38.382059' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_logparabola.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_logparabola.rst.txt index ef6f656e7bb..19ab68774f0 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_logparabola.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_logparabola.rst.txt @@ -118,8 +118,8 @@ Here is an example YAML file using the model: - name: beta value: 0.5 metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:50.741241' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:38.679700' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_logparabola_norm_spectral.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_logparabola_norm_spectral.rst.txt index 53b7493de88..4cbca6edbdd 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_logparabola_norm_spectral.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_logparabola_norm_spectral.rst.txt @@ -145,8 +145,8 @@ Here is an example YAML file using the model: value: 0.0 operator: mul metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:51.151638' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:39.011446' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_naima.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_naima.rst.txt index 7f21bad8910..5c6dcde7ec7 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_naima.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_naima.rst.txt @@ -174,8 +174,8 @@ Here is an example YAML file using the model: scale_method: scale10 is_norm: false metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:51.699630' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:39.475080' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_piecewise_norm_spectral.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_piecewise_norm_spectral.rst.txt index 3eb57ca5aa6..9bcce6a3b16 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_piecewise_norm_spectral.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_piecewise_norm_spectral.rst.txt @@ -134,8 +134,8 @@ Here is an example YAML file using the model: unit: TeV operator: mul metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:52.074194' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:39.773003' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw.rst.txt index 80b274ae0cd..c659a0819ff 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw.rst.txt @@ -104,8 +104,8 @@ Here is an example YAML file using the model: value: 1.0 unit: TeV metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:52.540279' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:40.153133' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw2.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw2.rst.txt index 36094000b4d..e0a0c6f57cd 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw2.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw2.rst.txt @@ -111,8 +111,8 @@ Here is an example YAML file using the model: value: 10.0 unit: TeV metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:53.016600' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:40.544093' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw_norm_spectral.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw_norm_spectral.rst.txt index 9f27f592ed7..bab6af0d6af 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw_norm_spectral.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_powerlaw_norm_spectral.rst.txt @@ -133,8 +133,8 @@ Here is an example YAML file using the model: unit: TeV operator: mul metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:53.443199' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:40.889429' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_smooth_broken_powerlaw.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_smooth_broken_powerlaw.rst.txt index 4ae2179946f..1d7ec77a7aa 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_smooth_broken_powerlaw.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_smooth_broken_powerlaw.rst.txt @@ -114,8 +114,8 @@ Here is an example YAML file using the model: - name: beta value: 1.0 metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:53.917669' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:41.280033' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_3fgl.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_3fgl.rst.txt index a3ff1b29132..c966785e9a2 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_3fgl.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_3fgl.rst.txt @@ -125,8 +125,8 @@ Here is an example YAML file using the model: - name: index_2 value: 2.0 metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:54.289777' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:41.577908' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl.rst.txt index e461f7c04eb..c528a66069f 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl.rst.txt @@ -124,8 +124,8 @@ Here is an example YAML file using the model: - name: index_2 value: 2.0 metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:54.657416' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:41.862140' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl_dr1.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl_dr1.rst.txt index dd1657a4063..4b5c374e87b 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl_dr1.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl_dr1.rst.txt @@ -126,8 +126,8 @@ Here is an example YAML file using the model: - name: index_2 value: 2.0 metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:55.020702' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:42.146423' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_template_spectral.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_template_spectral.rst.txt index c1b42772eea..2ef27165d6d 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/plot_template_spectral.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/plot_template_spectral.rst.txt @@ -157,8 +157,8 @@ Here is an example YAML file using the model: - 3.9e-39 unit: 1 / (cm2 MeV s) metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:55.371419' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:42.439136' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/spectral/sg_execution_times.rst.txt b/docs/dev/_sources/user-guide/model-gallery/spectral/sg_execution_times.rst.txt index d9cae14efcd..f9311fac8d5 100644 --- a/docs/dev/_sources/user-guide/model-gallery/spectral/sg_execution_times.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/spectral/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**00:06.217** total execution time for 20 files **from user-guide/model-gallery/spectral**: +**00:05.468** total execution time for 20 files **from user-guide/model-gallery/spectral**: .. container:: @@ -33,62 +33,62 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_absorbed.py` (``plot_absorbed.py``) - - 00:01.070 + - 00:01.043 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_naima.py` (``plot_naima.py``) - - 00:00.408 - - 0.0 - * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_broken_powerlaw.py` (``plot_broken_powerlaw.py``) - - 00:00.365 + - 00:00.356 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_compound.py` (``plot_compound.py``) - - 00:00.333 + - 00:00.340 + - 0.0 + * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_broken_powerlaw.py` (``plot_broken_powerlaw.py``) + - 00:00.317 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_powerlaw2.py` (``plot_powerlaw2.py``) - - 00:00.332 + - 00:00.286 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_smooth_broken_powerlaw.py` (``plot_smooth_broken_powerlaw.py``) - - 00:00.331 + - 00:00.286 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_powerlaw.py` (``plot_powerlaw.py``) - - 00:00.330 + - 00:00.281 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_powerlaw_norm_spectral.py` (``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` (``plot_logparabola_norm_spectral.py``) - - 00:00.279 + - 00:00.233 + - 0.0 + * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_gauss_spectral.py` (``plot_gauss_spectral.py``) + - 00:00.215 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_constant_spectral.py` (``plot_constant_spectral.py``) - - 00:00.247 + - 00:00.210 - 0.0 - * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw_norm_spectral.py` (``plot_exp_cutoff_powerlaw_norm_spectral.py``) - - 00:00.237 + * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_logparabola.py` (``plot_logparabola.py``) + - 00:00.203 + - 0.0 + * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_template_spectral.py` (``plot_template_spectral.py``) + - 00:00.191 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_piecewise_norm_spectral.py` (``plot_piecewise_norm_spectral.py``) - - 00:00.232 + - 00:00.188 - 0.0 - * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_4fgl.py` (``plot_super_exp_cutoff_powerlaw_4fgl.py``) - - 00:00.231 + * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_3fgl.py` (``plot_super_exp_cutoff_powerlaw_3fgl.py``) + - 00:00.187 - 0.0 - * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_gauss_spectral.py` (``plot_gauss_spectral.py``) - - 00:00.230 + * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw_norm_spectral.py` (``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_dr1.py` (``plot_super_exp_cutoff_powerlaw_4fgl_dr1.py``) - - 00:00.228 + * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_4fgl.py` (``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_3fgl.py` (``plot_super_exp_cutoff_powerlaw_3fgl.py``) - - 00:00.228 + * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_4fgl_dr1.py` (``plot_super_exp_cutoff_powerlaw_4fgl_dr1.py``) + - 00:00.185 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw.py` (``plot_exp_cutoff_powerlaw.py``) - - 00:00.218 - - 0.0 - * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_logparabola.py` (``plot_logparabola.py``) - - 00:00.214 - - 0.0 - * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_template_spectral.py` (``plot_template_spectral.py``) - - 00:00.213 + - 00:00.171 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw_3fgl.py` (``plot_exp_cutoff_powerlaw_3fgl.py``) - - 00:00.211 + - 00:00.169 - 0.0 diff --git a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_constant_temporal.rst.txt b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_constant_temporal.rst.txt index 260480e29b1..5233e871020 100644 --- a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_constant_temporal.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_constant_temporal.rst.txt @@ -111,8 +111,8 @@ Here is an example YAML file using the model: parameters: [] scale: utc metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:56.160567' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:43.178333' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_expdecay_temporal.rst.txt b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_expdecay_temporal.rst.txt index 6db52a651d9..84e759dee25 100644 --- a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_expdecay_temporal.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_expdecay_temporal.rst.txt @@ -121,8 +121,8 @@ Here is an example YAML file using the model: unit: d scale: utc metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:56.418157' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:43.399272' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_gaussian_temporal.rst.txt b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_gaussian_temporal.rst.txt index c919f8efa07..dae3bae941e 100644 --- a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_gaussian_temporal.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_gaussian_temporal.rst.txt @@ -120,8 +120,8 @@ Here is an example YAML file using the model: unit: h scale: utc metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:56.676727' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:43.615663' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_generalized_gaussian_temporal.rst.txt b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_generalized_gaussian_temporal.rst.txt index 83917457a13..d202cc4c7ab 100644 --- a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_generalized_gaussian_temporal.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_generalized_gaussian_temporal.rst.txt @@ -132,8 +132,8 @@ Here is an example YAML file using the model: value: 0.6666666666666666 scale: utc metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:56.936553' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:43.836273' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_linear_temporal.rst.txt b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_linear_temporal.rst.txt index 7e9227e600d..302264d2aba 100644 --- a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_linear_temporal.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_linear_temporal.rst.txt @@ -117,12 +117,12 @@ Here is an example YAML file using the model: value: 0.5 unit: d-1 - name: t_ref - value: 60446.78121623382 + value: 60447.317869759056 unit: d scale: utc metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:57.188242' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:44.049483' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_powerlaw_temporal.rst.txt b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_powerlaw_temporal.rst.txt index b39d94cab7d..6fcaed288ad 100644 --- a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_powerlaw_temporal.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_powerlaw_temporal.rst.txt @@ -113,15 +113,15 @@ Here is an example YAML file using the model: - name: alpha value: -2.0 - name: t_ref - value: 60446.78121915957 + value: 60447.31787225163 unit: d - name: t0 value: 1.0 unit: d scale: utc metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:57.532611' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:44.352732' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_sine_temporal.rst.txt b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_sine_temporal.rst.txt index 460c5e0c230..6983a7ef7cd 100644 --- a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_sine_temporal.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_sine_temporal.rst.txt @@ -119,12 +119,12 @@ Here is an example YAML file using the model: value: 0.7853981633974483 unit: d-1 rad - name: t_ref - value: 60446.78122305073 + value: 60447.317875604356 unit: d scale: utc metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:57.782627' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:44.558651' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_template_phase_temporal.rst.txt b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_template_phase_temporal.rst.txt index af43d7e1c55..5acb6f46e83 100644 --- a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_template_phase_temporal.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_template_phase_temporal.rst.txt @@ -127,8 +127,8 @@ Here is an example YAML file using the model: scale: utc filename: /home/runner/work/gammapy-docs/gammapy-docs/gammapy-datasets/dev/tests/phasecurve_LSI_DC.fits metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:58.055574' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:44.790186' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_template_temporal.rst.txt b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_template_temporal.rst.txt index 65dea63490f..93d95aefaac 100644 --- a/docs/dev/_sources/user-guide/model-gallery/temporal/plot_template_temporal.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/temporal/plot_template_temporal.rst.txt @@ -118,8 +118,8 @@ Here is an example YAML file using the model: format: table unit: '' metadata: - creator: Gammapy 1.3.dev370+g12bce6c25 - date: '2024-05-16T21:08:58.330961' + creator: Gammapy 1.3.dev396+g813ec3eb9 + date: '2024-05-17T10:01:45.020515' origin: null diff --git a/docs/dev/_sources/user-guide/model-gallery/temporal/sg_execution_times.rst.txt b/docs/dev/_sources/user-guide/model-gallery/temporal/sg_execution_times.rst.txt index 03b4eabdcad..a68f21e86c1 100644 --- a/docs/dev/_sources/user-guide/model-gallery/temporal/sg_execution_times.rst.txt +++ b/docs/dev/_sources/user-guide/model-gallery/temporal/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**00:01.676** total execution time for 9 files **from user-guide/model-gallery/temporal**: +**00:01.601** total execution time for 9 files **from user-guide/model-gallery/temporal**: .. container:: @@ -33,29 +33,29 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_constant_temporal.py` (``plot_constant_temporal.py``) - - 00:00.652 + - 00:00.634 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_powerlaw_temporal.py` (``plot_powerlaw_temporal.py``) - - 00:00.199 + - 00:00.192 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_template_phase_temporal.py` (``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` (``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` (``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` (``plot_sine_temporal.py``) + - 00:00.108 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_gaussian_temporal.py` (``plot_gaussian_temporal.py``) - - 00:00.115 + - 00:00.108 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_expdecay_temporal.py` (``plot_expdecay_temporal.py``) - - 00:00.114 - - 0.0 - * - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_sine_temporal.py` (``plot_sine_temporal.py``) - - 00:00.113 + - 00:00.107 - 0.0 * - :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_linear_temporal.py` (``plot_linear_temporal.py``) - - 00:00.108 + - 00:00.104 - 0.0 diff --git a/docs/dev/api-reference/analysis.html b/docs/dev/api-reference/analysis.html index 4c883a86418..fd78ed4fae1 100644 --- a/docs/dev/api-reference/analysis.html +++ b/docs/dev/api-reference/analysis.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api-reference/astro.html b/docs/dev/api-reference/astro.html index d847fb991b5..faf8bb69b29 100644 --- a/docs/dev/api-reference/astro.html +++ b/docs/dev/api-reference/astro.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api-reference/catalog.html b/docs/dev/api-reference/catalog.html index 9217d86ae4a..298603adc4e 100644 --- a/docs/dev/api-reference/catalog.html +++ b/docs/dev/api-reference/catalog.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api-reference/data.html b/docs/dev/api-reference/data.html index b86f50a9ffb..a35048dd442 100644 --- a/docs/dev/api-reference/data.html +++ b/docs/dev/api-reference/data.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api-reference/datasets.html b/docs/dev/api-reference/datasets.html index 0be5c9b0be7..7c8c4bfcab7 100644 --- a/docs/dev/api-reference/datasets.html +++ b/docs/dev/api-reference/datasets.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api-reference/estimators.html b/docs/dev/api-reference/estimators.html index 461190ff5d6..6bb225ec2c7 100644 --- a/docs/dev/api-reference/estimators.html +++ b/docs/dev/api-reference/estimators.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api-reference/index.html b/docs/dev/api-reference/index.html index bd5becaf582..f2ff3884010 100644 --- a/docs/dev/api-reference/index.html +++ b/docs/dev/api-reference/index.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api-reference/irf.html b/docs/dev/api-reference/irf.html index 817ea21ae7f..a9f09dfcd03 100644 --- a/docs/dev/api-reference/irf.html +++ b/docs/dev/api-reference/irf.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api-reference/makers.html b/docs/dev/api-reference/makers.html index 1c61eb62188..8d153498a31 100644 --- a/docs/dev/api-reference/makers.html +++ b/docs/dev/api-reference/makers.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api-reference/maps.html b/docs/dev/api-reference/maps.html index 7f7f4022f77..27f0587edc9 100644 --- a/docs/dev/api-reference/maps.html +++ b/docs/dev/api-reference/maps.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api-reference/modeling.html b/docs/dev/api-reference/modeling.html index e1908763004..068c930d39c 100644 --- a/docs/dev/api-reference/modeling.html +++ b/docs/dev/api-reference/modeling.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api-reference/scripts.html b/docs/dev/api-reference/scripts.html index ef45dd871f5..a6b5d9b5241 100644 --- a/docs/dev/api-reference/scripts.html +++ b/docs/dev/api-reference/scripts.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api-reference/stats.html b/docs/dev/api-reference/stats.html index e48881b6f01..4db212edfb5 100644 --- a/docs/dev/api-reference/stats.html +++ b/docs/dev/api-reference/stats.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api-reference/utils.html b/docs/dev/api-reference/utils.html index 92ed42a28b2..d299ce9affa 100644 --- a/docs/dev/api-reference/utils.html +++ b/docs/dev/api-reference/utils.html @@ -67,7 +67,7 @@ - + @@ -1023,7 +1023,7 @@

Functions#Functions#

e_refe_mine_maxdndednde_errtssqrt_tsnprednpred_excessstatstat_nullcountssuccess
TeVTeVTeV1 / (cm2 s TeV)1 / (cm2 s TeV)
float64float64float64float64float64float64float64float64[1]float32[1]float64float64float64[1]bool
- + diff --git a/docs/dev/api-reference/visualization.html b/docs/dev/api-reference/visualization.html index ca694a8f7d5..948e8273f07 100644 --- a/docs/dev/api-reference/visualization.html +++ b/docs/dev/api-reference/visualization.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.analysis.Analysis.html b/docs/dev/api/gammapy.analysis.Analysis.html index 683d14579f4..9837c435714 100644 --- a/docs/dev/api/gammapy.analysis.Analysis.html +++ b/docs/dev/api/gammapy.analysis.Analysis.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.analysis.AnalysisConfig.html b/docs/dev/api/gammapy.analysis.AnalysisConfig.html index d200f7e2fde..15295889976 100644 --- a/docs/dev/api/gammapy.analysis.AnalysisConfig.html +++ b/docs/dev/api/gammapy.analysis.AnalysisConfig.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.darkmatter.BurkertProfile.html b/docs/dev/api/gammapy.astro.darkmatter.BurkertProfile.html index 31d6f32c380..2aa92b8f25c 100644 --- a/docs/dev/api/gammapy.astro.darkmatter.BurkertProfile.html +++ b/docs/dev/api/gammapy.astro.darkmatter.BurkertProfile.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.darkmatter.DMProfile.html b/docs/dev/api/gammapy.astro.darkmatter.DMProfile.html index 7962b6c4c7c..96a8df5670d 100644 --- a/docs/dev/api/gammapy.astro.darkmatter.DMProfile.html +++ b/docs/dev/api/gammapy.astro.darkmatter.DMProfile.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.darkmatter.DarkMatterAnnihilationSpectralModel.html b/docs/dev/api/gammapy.astro.darkmatter.DarkMatterAnnihilationSpectralModel.html index e8c87d93443..d4550bea08b 100644 --- a/docs/dev/api/gammapy.astro.darkmatter.DarkMatterAnnihilationSpectralModel.html +++ b/docs/dev/api/gammapy.astro.darkmatter.DarkMatterAnnihilationSpectralModel.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.darkmatter.DarkMatterDecaySpectralModel.html b/docs/dev/api/gammapy.astro.darkmatter.DarkMatterDecaySpectralModel.html index 49eb9c9e5a0..a09549a374d 100644 --- a/docs/dev/api/gammapy.astro.darkmatter.DarkMatterDecaySpectralModel.html +++ b/docs/dev/api/gammapy.astro.darkmatter.DarkMatterDecaySpectralModel.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.darkmatter.EinastoProfile.html b/docs/dev/api/gammapy.astro.darkmatter.EinastoProfile.html index ee9614b6870..182e0b78cbe 100644 --- a/docs/dev/api/gammapy.astro.darkmatter.EinastoProfile.html +++ b/docs/dev/api/gammapy.astro.darkmatter.EinastoProfile.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.darkmatter.IsothermalProfile.html b/docs/dev/api/gammapy.astro.darkmatter.IsothermalProfile.html index 3c2f263b504..5bf9bef3439 100644 --- a/docs/dev/api/gammapy.astro.darkmatter.IsothermalProfile.html +++ b/docs/dev/api/gammapy.astro.darkmatter.IsothermalProfile.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.darkmatter.JFactory.html b/docs/dev/api/gammapy.astro.darkmatter.JFactory.html index b5836dd6f1f..8afde5dd4f7 100644 --- a/docs/dev/api/gammapy.astro.darkmatter.JFactory.html +++ b/docs/dev/api/gammapy.astro.darkmatter.JFactory.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.darkmatter.MooreProfile.html b/docs/dev/api/gammapy.astro.darkmatter.MooreProfile.html index 12200e9d6f0..cb86a292c31 100644 --- a/docs/dev/api/gammapy.astro.darkmatter.MooreProfile.html +++ b/docs/dev/api/gammapy.astro.darkmatter.MooreProfile.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.darkmatter.NFWProfile.html b/docs/dev/api/gammapy.astro.darkmatter.NFWProfile.html index 7dc0e5445c0..62b6c416fb2 100644 --- a/docs/dev/api/gammapy.astro.darkmatter.NFWProfile.html +++ b/docs/dev/api/gammapy.astro.darkmatter.NFWProfile.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.darkmatter.PrimaryFlux.html b/docs/dev/api/gammapy.astro.darkmatter.PrimaryFlux.html index 732b0e29885..9b9b492b37c 100644 --- a/docs/dev/api/gammapy.astro.darkmatter.PrimaryFlux.html +++ b/docs/dev/api/gammapy.astro.darkmatter.PrimaryFlux.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.darkmatter.ZhaoProfile.html b/docs/dev/api/gammapy.astro.darkmatter.ZhaoProfile.html index 56c7d825d33..72cda057ef1 100644 --- a/docs/dev/api/gammapy.astro.darkmatter.ZhaoProfile.html +++ b/docs/dev/api/gammapy.astro.darkmatter.ZhaoProfile.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.CaseBattacharya1998.html b/docs/dev/api/gammapy.astro.population.CaseBattacharya1998.html index 8226b07c366..a4128bcc588 100644 --- a/docs/dev/api/gammapy.astro.population.CaseBattacharya1998.html +++ b/docs/dev/api/gammapy.astro.population.CaseBattacharya1998.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.Exponential.html b/docs/dev/api/gammapy.astro.population.Exponential.html index bae9a218e70..3e066992309 100644 --- a/docs/dev/api/gammapy.astro.population.Exponential.html +++ b/docs/dev/api/gammapy.astro.population.Exponential.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.FaucherKaspi2006.html b/docs/dev/api/gammapy.astro.population.FaucherKaspi2006.html index 2cfe6983408..4755f63338f 100644 --- a/docs/dev/api/gammapy.astro.population.FaucherKaspi2006.html +++ b/docs/dev/api/gammapy.astro.population.FaucherKaspi2006.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.FaucherKaspi2006VelocityBimodal.html b/docs/dev/api/gammapy.astro.population.FaucherKaspi2006VelocityBimodal.html index 2cf05d35cbc..eb3599cda89 100644 --- a/docs/dev/api/gammapy.astro.population.FaucherKaspi2006VelocityBimodal.html +++ b/docs/dev/api/gammapy.astro.population.FaucherKaspi2006VelocityBimodal.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.FaucherKaspi2006VelocityMaxwellian.html b/docs/dev/api/gammapy.astro.population.FaucherKaspi2006VelocityMaxwellian.html index 451650b0095..1ef6eeff3fe 100644 --- a/docs/dev/api/gammapy.astro.population.FaucherKaspi2006VelocityMaxwellian.html +++ b/docs/dev/api/gammapy.astro.population.FaucherKaspi2006VelocityMaxwellian.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.FaucherSpiral.html b/docs/dev/api/gammapy.astro.population.FaucherSpiral.html index e7b15101033..22d32c94906 100644 --- a/docs/dev/api/gammapy.astro.population.FaucherSpiral.html +++ b/docs/dev/api/gammapy.astro.population.FaucherSpiral.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.LogSpiral.html b/docs/dev/api/gammapy.astro.population.LogSpiral.html index 224dc4003c0..c9aee7c8c9e 100644 --- a/docs/dev/api/gammapy.astro.population.LogSpiral.html +++ b/docs/dev/api/gammapy.astro.population.LogSpiral.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.Lorimer2006.html b/docs/dev/api/gammapy.astro.population.Lorimer2006.html index f6f6f99d2fd..1d5708cce37 100644 --- a/docs/dev/api/gammapy.astro.population.Lorimer2006.html +++ b/docs/dev/api/gammapy.astro.population.Lorimer2006.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.Paczynski1990.html b/docs/dev/api/gammapy.astro.population.Paczynski1990.html index 32ca5a434b1..8002f7e6bf3 100644 --- a/docs/dev/api/gammapy.astro.population.Paczynski1990.html +++ b/docs/dev/api/gammapy.astro.population.Paczynski1990.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.Paczynski1990Velocity.html b/docs/dev/api/gammapy.astro.population.Paczynski1990Velocity.html index cf3591f1f8a..d628ae96f78 100644 --- a/docs/dev/api/gammapy.astro.population.Paczynski1990Velocity.html +++ b/docs/dev/api/gammapy.astro.population.Paczynski1990Velocity.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.ValleeSpiral.html b/docs/dev/api/gammapy.astro.population.ValleeSpiral.html index 308886402f7..332f122302b 100644 --- a/docs/dev/api/gammapy.astro.population.ValleeSpiral.html +++ b/docs/dev/api/gammapy.astro.population.ValleeSpiral.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.YusifovKucuk2004.html b/docs/dev/api/gammapy.astro.population.YusifovKucuk2004.html index 42bd43165b4..52dcdb4192c 100644 --- a/docs/dev/api/gammapy.astro.population.YusifovKucuk2004.html +++ b/docs/dev/api/gammapy.astro.population.YusifovKucuk2004.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.YusifovKucuk2004B.html b/docs/dev/api/gammapy.astro.population.YusifovKucuk2004B.html index 4526772081c..957e598d900 100644 --- a/docs/dev/api/gammapy.astro.population.YusifovKucuk2004B.html +++ b/docs/dev/api/gammapy.astro.population.YusifovKucuk2004B.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.add_observed_parameters.html b/docs/dev/api/gammapy.astro.population.add_observed_parameters.html index 1a42b234db3..8ca57bf1c00 100644 --- a/docs/dev/api/gammapy.astro.population.add_observed_parameters.html +++ b/docs/dev/api/gammapy.astro.population.add_observed_parameters.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.add_pulsar_parameters.html b/docs/dev/api/gammapy.astro.population.add_pulsar_parameters.html index 587a4faada3..753d568b965 100644 --- a/docs/dev/api/gammapy.astro.population.add_pulsar_parameters.html +++ b/docs/dev/api/gammapy.astro.population.add_pulsar_parameters.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.add_pwn_parameters.html b/docs/dev/api/gammapy.astro.population.add_pwn_parameters.html index a64e9e53817..af2f9e71382 100644 --- a/docs/dev/api/gammapy.astro.population.add_pwn_parameters.html +++ b/docs/dev/api/gammapy.astro.population.add_pwn_parameters.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.add_snr_parameters.html b/docs/dev/api/gammapy.astro.population.add_snr_parameters.html index 979fd5a5082..df5e6442046 100644 --- a/docs/dev/api/gammapy.astro.population.add_snr_parameters.html +++ b/docs/dev/api/gammapy.astro.population.add_snr_parameters.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.make_base_catalog_galactic.html b/docs/dev/api/gammapy.astro.population.make_base_catalog_galactic.html index 0f88d7cde70..16502afa78b 100644 --- a/docs/dev/api/gammapy.astro.population.make_base_catalog_galactic.html +++ b/docs/dev/api/gammapy.astro.population.make_base_catalog_galactic.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.make_catalog_random_positions_cube.html b/docs/dev/api/gammapy.astro.population.make_catalog_random_positions_cube.html index 60b00f9c40d..40479941872 100644 --- a/docs/dev/api/gammapy.astro.population.make_catalog_random_positions_cube.html +++ b/docs/dev/api/gammapy.astro.population.make_catalog_random_positions_cube.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.make_catalog_random_positions_sphere.html b/docs/dev/api/gammapy.astro.population.make_catalog_random_positions_sphere.html index 890fd9ff71a..472bbc4d097 100644 --- a/docs/dev/api/gammapy.astro.population.make_catalog_random_positions_sphere.html +++ b/docs/dev/api/gammapy.astro.population.make_catalog_random_positions_sphere.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.radial_distributions.html b/docs/dev/api/gammapy.astro.population.radial_distributions.html index 00bf06f59ef..3c3f948c14e 100644 --- a/docs/dev/api/gammapy.astro.population.radial_distributions.html +++ b/docs/dev/api/gammapy.astro.population.radial_distributions.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.population.velocity_distributions.html b/docs/dev/api/gammapy.astro.population.velocity_distributions.html index d870bf47bda..8c5f4f44d20 100644 --- a/docs/dev/api/gammapy.astro.population.velocity_distributions.html +++ b/docs/dev/api/gammapy.astro.population.velocity_distributions.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.source.PWN.html b/docs/dev/api/gammapy.astro.source.PWN.html index ab587cbe7cf..45396235c18 100644 --- a/docs/dev/api/gammapy.astro.source.PWN.html +++ b/docs/dev/api/gammapy.astro.source.PWN.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.source.Pulsar.html b/docs/dev/api/gammapy.astro.source.Pulsar.html index 0686755c824..f0841812592 100644 --- a/docs/dev/api/gammapy.astro.source.Pulsar.html +++ b/docs/dev/api/gammapy.astro.source.Pulsar.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.source.SNR.html b/docs/dev/api/gammapy.astro.source.SNR.html index 8301d5bbc10..bec045cc322 100644 --- a/docs/dev/api/gammapy.astro.source.SNR.html +++ b/docs/dev/api/gammapy.astro.source.SNR.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.source.SNRTrueloveMcKee.html b/docs/dev/api/gammapy.astro.source.SNRTrueloveMcKee.html index 1ecf3012c3b..297c894d036 100644 --- a/docs/dev/api/gammapy.astro.source.SNRTrueloveMcKee.html +++ b/docs/dev/api/gammapy.astro.source.SNRTrueloveMcKee.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.astro.source.SimplePulsar.html b/docs/dev/api/gammapy.astro.source.SimplePulsar.html index c8704a7ea72..f69ee17ab5c 100644 --- a/docs/dev/api/gammapy.astro.source.SimplePulsar.html +++ b/docs/dev/api/gammapy.astro.source.SimplePulsar.html @@ -67,7 +67,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.CATALOG_REGISTRY.html b/docs/dev/api/gammapy.catalog.CATALOG_REGISTRY.html index 2b1d898c3d8..17130e784df 100644 --- a/docs/dev/api/gammapy.catalog.CATALOG_REGISTRY.html +++ b/docs/dev/api/gammapy.catalog.CATALOG_REGISTRY.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalog.html b/docs/dev/api/gammapy.catalog.SourceCatalog.html index 9fe8fb343f9..499bb832216 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalog.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalog.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalog1LHAASO.html b/docs/dev/api/gammapy.catalog.SourceCatalog1LHAASO.html index 344d512bb75..d31e35a6d49 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalog1LHAASO.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalog1LHAASO.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalog2FHL.html b/docs/dev/api/gammapy.catalog.SourceCatalog2FHL.html index 8e0775a9f44..525680fefdc 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalog2FHL.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalog2FHL.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalog2HWC.html b/docs/dev/api/gammapy.catalog.SourceCatalog2HWC.html index a13e86d492a..fe205084351 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalog2HWC.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalog2HWC.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalog3FGL.html b/docs/dev/api/gammapy.catalog.SourceCatalog3FGL.html index c418267535f..a55e957ccc7 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalog3FGL.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalog3FGL.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalog3FHL.html b/docs/dev/api/gammapy.catalog.SourceCatalog3FHL.html index 461e3ad000b..6542c916fd0 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalog3FHL.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalog3FHL.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalog3HWC.html b/docs/dev/api/gammapy.catalog.SourceCatalog3HWC.html index 731e3766c0d..e6155da7e65 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalog3HWC.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalog3HWC.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalog3PC.html b/docs/dev/api/gammapy.catalog.SourceCatalog3PC.html index 7cfc4a8b98e..6b408e91d98 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalog3PC.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalog3PC.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalog4FGL.html b/docs/dev/api/gammapy.catalog.SourceCatalog4FGL.html index 222da0b965c..95b7200c41d 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalog4FGL.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalog4FGL.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogGammaCat.html b/docs/dev/api/gammapy.catalog.SourceCatalogGammaCat.html index d168b566693..896f3873f2f 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogGammaCat.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogGammaCat.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogHGPS.html b/docs/dev/api/gammapy.catalog.SourceCatalogHGPS.html index 22f0fad8430..bf99e39aa6a 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogHGPS.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogHGPS.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogLargeScaleHGPS.html b/docs/dev/api/gammapy.catalog.SourceCatalogLargeScaleHGPS.html index 65245da66c8..b6a6bb51e4f 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogLargeScaleHGPS.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogLargeScaleHGPS.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObject.html b/docs/dev/api/gammapy.catalog.SourceCatalogObject.html index 86231715442..b1602a131eb 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObject.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObject.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObject1LHAASO.html b/docs/dev/api/gammapy.catalog.SourceCatalogObject1LHAASO.html index 6572be783b8..dffb22f3b4f 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObject1LHAASO.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObject1LHAASO.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObject2FHL.html b/docs/dev/api/gammapy.catalog.SourceCatalogObject2FHL.html index 834a37c8c7f..6441ecd58df 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObject2FHL.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObject2FHL.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObject2HWC.html b/docs/dev/api/gammapy.catalog.SourceCatalogObject2HWC.html index 403f768bd81..9ca8983675b 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObject2HWC.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObject2HWC.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObject3FGL.html b/docs/dev/api/gammapy.catalog.SourceCatalogObject3FGL.html index 81d4dca0170..b6519720805 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObject3FGL.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObject3FGL.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObject3FHL.html b/docs/dev/api/gammapy.catalog.SourceCatalogObject3FHL.html index eba19eb4a66..b73ab2a9d10 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObject3FHL.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObject3FHL.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObject3HWC.html b/docs/dev/api/gammapy.catalog.SourceCatalogObject3HWC.html index 2d499bc9982..0713223b7d4 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObject3HWC.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObject3HWC.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObject3PC.html b/docs/dev/api/gammapy.catalog.SourceCatalogObject3PC.html index ef9d8f1348f..4b014d7fe23 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObject3PC.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObject3PC.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObject4FGL.html b/docs/dev/api/gammapy.catalog.SourceCatalogObject4FGL.html index 8a41a385831..af9f6079e8d 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObject4FGL.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObject4FGL.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObjectGammaCat.html b/docs/dev/api/gammapy.catalog.SourceCatalogObjectGammaCat.html index e1f7a052c91..e7ac5cde7d9 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObjectGammaCat.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObjectGammaCat.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObjectHGPS.html b/docs/dev/api/gammapy.catalog.SourceCatalogObjectHGPS.html index a6cbaa55c5f..942e8cc1f36 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObjectHGPS.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObjectHGPS.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.catalog.SourceCatalogObjectHGPSComponent.html b/docs/dev/api/gammapy.catalog.SourceCatalogObjectHGPSComponent.html index 55bd03a692b..6dbd6c48086 100644 --- a/docs/dev/api/gammapy.catalog.SourceCatalogObjectHGPSComponent.html +++ b/docs/dev/api/gammapy.catalog.SourceCatalogObjectHGPSComponent.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.DataStore.html b/docs/dev/api/gammapy.data.DataStore.html index a9b2e3e1587..90907b39034 100644 --- a/docs/dev/api/gammapy.data.DataStore.html +++ b/docs/dev/api/gammapy.data.DataStore.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.EventList.html b/docs/dev/api/gammapy.data.EventList.html index f0be04e04c2..df64c350deb 100644 --- a/docs/dev/api/gammapy.data.EventList.html +++ b/docs/dev/api/gammapy.data.EventList.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.EventListMetaData.html b/docs/dev/api/gammapy.data.EventListMetaData.html index 6db9289ac51..4c9963f24da 100644 --- a/docs/dev/api/gammapy.data.EventListMetaData.html +++ b/docs/dev/api/gammapy.data.EventListMetaData.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.FixedPointingInfo.html b/docs/dev/api/gammapy.data.FixedPointingInfo.html index 1c74560b3d9..93ab38194e1 100644 --- a/docs/dev/api/gammapy.data.FixedPointingInfo.html +++ b/docs/dev/api/gammapy.data.FixedPointingInfo.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.GTI.html b/docs/dev/api/gammapy.data.GTI.html index f5d6a02b76a..d6b85137e03 100644 --- a/docs/dev/api/gammapy.data.GTI.html +++ b/docs/dev/api/gammapy.data.GTI.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.HDUIndexTable.html b/docs/dev/api/gammapy.data.HDUIndexTable.html index 092bd41a95e..8d14d782a4b 100644 --- a/docs/dev/api/gammapy.data.HDUIndexTable.html +++ b/docs/dev/api/gammapy.data.HDUIndexTable.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.Observation.html b/docs/dev/api/gammapy.data.Observation.html index 85abfc0c4ac..4df0aceac59 100644 --- a/docs/dev/api/gammapy.data.Observation.html +++ b/docs/dev/api/gammapy.data.Observation.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.ObservationFilter.html b/docs/dev/api/gammapy.data.ObservationFilter.html index e6116b9c7c6..ed2c43e0e23 100644 --- a/docs/dev/api/gammapy.data.ObservationFilter.html +++ b/docs/dev/api/gammapy.data.ObservationFilter.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.ObservationTable.html b/docs/dev/api/gammapy.data.ObservationTable.html index 22b10d8966a..6f7b9090678 100644 --- a/docs/dev/api/gammapy.data.ObservationTable.html +++ b/docs/dev/api/gammapy.data.ObservationTable.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.Observations.html b/docs/dev/api/gammapy.data.Observations.html index 9b8b2c2a8b6..823abb79ff8 100644 --- a/docs/dev/api/gammapy.data.Observations.html +++ b/docs/dev/api/gammapy.data.Observations.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.ObservationsEventsSampler.html b/docs/dev/api/gammapy.data.ObservationsEventsSampler.html index 378248c4eeb..a32c107674f 100644 --- a/docs/dev/api/gammapy.data.ObservationsEventsSampler.html +++ b/docs/dev/api/gammapy.data.ObservationsEventsSampler.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.PointingInfo.html b/docs/dev/api/gammapy.data.PointingInfo.html index 206b21f5c2b..3c7849f81e7 100644 --- a/docs/dev/api/gammapy.data.PointingInfo.html +++ b/docs/dev/api/gammapy.data.PointingInfo.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.PointingMode.html b/docs/dev/api/gammapy.data.PointingMode.html index a7c0db414ab..588cd86248a 100644 --- a/docs/dev/api/gammapy.data.PointingMode.html +++ b/docs/dev/api/gammapy.data.PointingMode.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.get_irfs_features.html b/docs/dev/api/gammapy.data.get_irfs_features.html index c59851862c9..d964639da54 100644 --- a/docs/dev/api/gammapy.data.get_irfs_features.html +++ b/docs/dev/api/gammapy.data.get_irfs_features.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.data.observatory_locations.html b/docs/dev/api/gammapy.data.observatory_locations.html index 52617fbaf4a..46489990203 100644 --- a/docs/dev/api/gammapy.data.observatory_locations.html +++ b/docs/dev/api/gammapy.data.observatory_locations.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.datasets.DATASET_REGISTRY.html b/docs/dev/api/gammapy.datasets.DATASET_REGISTRY.html index 0d8dfed356e..d3ddfb9ef8c 100644 --- a/docs/dev/api/gammapy.datasets.DATASET_REGISTRY.html +++ b/docs/dev/api/gammapy.datasets.DATASET_REGISTRY.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.datasets.Dataset.html b/docs/dev/api/gammapy.datasets.Dataset.html index 2f930155038..2983c0bf445 100644 --- a/docs/dev/api/gammapy.datasets.Dataset.html +++ b/docs/dev/api/gammapy.datasets.Dataset.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.datasets.Datasets.html b/docs/dev/api/gammapy.datasets.Datasets.html index a8b330e2613..6cdf76f5fe5 100644 --- a/docs/dev/api/gammapy.datasets.Datasets.html +++ b/docs/dev/api/gammapy.datasets.Datasets.html @@ -66,7 +66,7 @@ - + diff --git a/docs/dev/api/gammapy.datasets.FluxPointsDataset.html b/docs/dev/api/gammapy.datasets.FluxPointsDataset.html index 64211e5512b..84ee35fea01 100644 --- a/docs/dev/api/gammapy.datasets.FluxPointsDataset.html +++ b/docs/dev/api/gammapy.datasets.FluxPointsDataset.html @@ -66,7 +66,7 @@ - + @@ -948,7 +948,7 @@

FluxPointsDataset#

-class gammapy.datasets.FluxPointsDataset(models=None, data=None, mask_fit=None, mask_safe=None, name=None, meta_table=None)[source]#
+class gammapy.datasets.FluxPointsDataset(models=None, data=None, mask_fit=None, mask_safe=None, name=None, meta_table=None, stat_type='chi2', stat_kwargs=None)[source]#

Bases: Dataset

Bundle a set of flux points with a parametric model, to compute fit statistic function using chi2 statistics.

@@ -967,6 +967,26 @@

FluxPointsDatasetTable

Table listing information on observations used to create the dataset. One line per observation for stacked datasets.

+
stat_typestr

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_kwargsdict

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}

+

@@ -1017,22 +1037,31 @@

FluxPointsDatasetAttributes Summary

interpolate_profile(x, y[, interp_scale])

interpolate_profile(x, y[, interp_scale, ...])

Helper function to interpolate one-dimensional profiles.

interpolation_scale([scale])

- + + + + - + - + - + - + - + + + + + + + @@ -1082,6 +1111,11 @@

FluxPointsDatasetAttributes Documentation

+
+
+available_stat_type#
+
+
gti#
@@ -1094,6 +1128,16 @@

FluxPointsDataset +
+mask_safe#
+

+ +
+
+mask_valid#
+
+
models#
@@ -1106,7 +1150,7 @@

FluxPointsDataset
-stat_type = 'chi2'#
+stat_type#

@@ -1386,8 +1430,11 @@

FluxPointsDataset

gti

available_stat_type

gti

Good time interval info (GTI).

mask

mask

Combined fit and safe mask.

models

mask_safe

name

mask_valid

stat_type

models

tag

name

stat_type

tag