:orphan: .. _model-gallery: Model gallery ============= The model gallery provides a visual overview of the available models in Gammapy. In general the models are grouped into the following categories: - `~gammapy.modeling.models.SpectralModel`: models to describe spectral shapes of sources - `~gammapy.modeling.models.SpatialModel`: models to describe spatial shapes (morphologies) of sources - `~gammapy.modeling.models.TemporalModel`: models to describe temporal flux evolution of sources, such as light and phase curves The models follow a naming scheme which contains the category as a suffix to the class name. .. raw:: html
.. thumbnail-parent-div-open .. thumbnail-parent-div-close .. raw:: html
Spatial models -------------- .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spatial/images/thumb/sphx_glr_plot_gen_gauss_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_gen_gauss.py` .. raw:: html
Generalized gaussian spatial model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spatial/images/thumb/sphx_glr_plot_shell2_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_shell2.py` .. raw:: html
Shell2 spatial model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spatial/images/thumb/sphx_glr_plot_piecewise_norm_spatial_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_piecewise_norm_spatial.py` .. raw:: html
Piecewise norm spatial model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spatial/images/thumb/sphx_glr_plot_disk_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_disk.py` .. raw:: html
Disk spatial model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spatial/images/thumb/sphx_glr_plot_template_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_template.py` .. raw:: html
Template spatial model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spatial/images/thumb/sphx_glr_plot_constant_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_constant.py` .. raw:: html
Constant spatial model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spatial/images/thumb/sphx_glr_plot_gauss_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_gauss.py` .. raw:: html
Gaussian spatial model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spatial/images/thumb/sphx_glr_plot_point_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_point.py` .. raw:: html
Point spatial model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spatial/images/thumb/sphx_glr_plot_shell_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spatial_plot_shell.py` .. raw:: html
Shell spatial model
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /user-guide/model-gallery/spatial/plot_gen_gauss /user-guide/model-gallery/spatial/plot_shell2 /user-guide/model-gallery/spatial/plot_piecewise_norm_spatial /user-guide/model-gallery/spatial/plot_disk /user-guide/model-gallery/spatial/plot_template /user-guide/model-gallery/spatial/plot_constant /user-guide/model-gallery/spatial/plot_gauss /user-guide/model-gallery/spatial/plot_point /user-guide/model-gallery/spatial/plot_shell Spectral models --------------- .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_exp_cutoff_powerlaw_3fgl_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw_3fgl.py` .. raw:: html
Exponential cutoff power law spectral model used for 3FGL
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_smooth_broken_powerlaw_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_smooth_broken_powerlaw.py` .. raw:: html
Smooth broken power law spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_constant_spectral_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_constant_spectral.py` .. raw:: html
Constant spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_super_exp_cutoff_powerlaw_4fgl_dr1_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_4fgl_dr1.py` .. raw:: html
Super Exponential Cutoff Power Law Model used for 4FGL-DR1 (and DR2)
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_absorbed_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_absorbed.py` .. raw:: html
EBL absorption spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_powerlaw_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_powerlaw.py` .. raw:: html
Power law spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_naima_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_naima.py` .. raw:: html
Naima spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_piecewise_norm_spectral_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_piecewise_norm_spectral.py` .. raw:: html
Piecewise norm spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_logparabola_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_logparabola.py` .. raw:: html
Log parabola spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_super_exp_cutoff_powerlaw_4fgl_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_4fgl.py` .. raw:: html
Super Exponential Cutoff Power Law Model used for 4FGL-DR3
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_compound_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_compound.py` .. raw:: html
Compound spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_super_exp_cutoff_powerlaw_3fgl_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_super_exp_cutoff_powerlaw_3fgl.py` .. raw:: html
Super exponential cutoff power law model used for 3FGL
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_powerlaw_norm_spectral_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_powerlaw_norm_spectral.py` .. raw:: html
Power law norm spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_gauss_spectral_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_gauss_spectral.py` .. raw:: html
Gaussian spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_logparabola_norm_spectral_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_logparabola_norm_spectral.py` .. raw:: html
Log parabola spectral norm model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_powerlaw2_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_powerlaw2.py` .. raw:: html
Power law 2 spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_broken_powerlaw_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_broken_powerlaw.py` .. raw:: html
Broken power law spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_template_spectral_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_template_spectral.py` .. raw:: html
Template spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_exp_cutoff_powerlaw_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw.py` .. raw:: html
Exponential cutoff power law spectral model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/spectral/images/thumb/sphx_glr_plot_exp_cutoff_powerlaw_norm_spectral_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_spectral_plot_exp_cutoff_powerlaw_norm_spectral.py` .. raw:: html
Exponential cutoff power law norm spectral model
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_3fgl /user-guide/model-gallery/spectral/plot_smooth_broken_powerlaw /user-guide/model-gallery/spectral/plot_constant_spectral /user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl_dr1 /user-guide/model-gallery/spectral/plot_absorbed /user-guide/model-gallery/spectral/plot_powerlaw /user-guide/model-gallery/spectral/plot_naima /user-guide/model-gallery/spectral/plot_piecewise_norm_spectral /user-guide/model-gallery/spectral/plot_logparabola /user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl /user-guide/model-gallery/spectral/plot_compound /user-guide/model-gallery/spectral/plot_super_exp_cutoff_powerlaw_3fgl /user-guide/model-gallery/spectral/plot_powerlaw_norm_spectral /user-guide/model-gallery/spectral/plot_gauss_spectral /user-guide/model-gallery/spectral/plot_logparabola_norm_spectral /user-guide/model-gallery/spectral/plot_powerlaw2 /user-guide/model-gallery/spectral/plot_broken_powerlaw /user-guide/model-gallery/spectral/plot_template_spectral /user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw /user-guide/model-gallery/spectral/plot_exp_cutoff_powerlaw_norm_spectral Temporal models --------------- .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/temporal/images/thumb/sphx_glr_plot_template_phase_temporal_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_template_phase_temporal.py` .. raw:: html
Phase curve temporal model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/temporal/images/thumb/sphx_glr_plot_gaussian_temporal_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_gaussian_temporal.py` .. raw:: html
Gaussian temporal model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/temporal/images/thumb/sphx_glr_plot_template_temporal_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_template_temporal.py` .. raw:: html
Light curve temporal model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/temporal/images/thumb/sphx_glr_plot_powerlaw_temporal_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_powerlaw_temporal.py` .. raw:: html
PowerLaw temporal model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/temporal/images/thumb/sphx_glr_plot_generalized_gaussian_temporal_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_generalized_gaussian_temporal.py` .. raw:: html
Generalized Gaussian temporal model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/temporal/images/thumb/sphx_glr_plot_sine_temporal_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_sine_temporal.py` .. raw:: html
Sine temporal model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/temporal/images/thumb/sphx_glr_plot_linear_temporal_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_linear_temporal.py` .. raw:: html
Linear temporal model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/temporal/images/thumb/sphx_glr_plot_constant_temporal_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_constant_temporal.py` .. raw:: html
Constant temporal model
.. raw:: html
.. only:: html .. image:: /user-guide/model-gallery/temporal/images/thumb/sphx_glr_plot_expdecay_temporal_thumb.png :alt: :ref:`sphx_glr_user-guide_model-gallery_temporal_plot_expdecay_temporal.py` .. raw:: html
ExpDecay temporal model
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /user-guide/model-gallery/temporal/plot_template_phase_temporal /user-guide/model-gallery/temporal/plot_gaussian_temporal /user-guide/model-gallery/temporal/plot_template_temporal /user-guide/model-gallery/temporal/plot_powerlaw_temporal /user-guide/model-gallery/temporal/plot_generalized_gaussian_temporal /user-guide/model-gallery/temporal/plot_sine_temporal /user-guide/model-gallery/temporal/plot_linear_temporal /user-guide/model-gallery/temporal/plot_constant_temporal /user-guide/model-gallery/temporal/plot_expdecay_temporal .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: model-gallery_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: model-gallery_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_