:orphan:
.. _sphx_glr_modeling_gallery:
.. _model-gallery:
Model gallery
=============
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
- `~gammapy.modeling.models.SkyModel` and `~gammapy.modeling.models.SkyDiffuseCube`: model to combine the spectral and spatial model components
The models follow a naming scheme which contains the category as a suffix to the class
name.
The model gallery provides a visual overview of the available models in Gammapy.
.. raw:: html
.. _sphx_glr_modeling_gallery_spatial:
.. _spatial_models_gallery:
Spatial Models
--------------
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spatial/images/thumb/sphx_glr_plot_constant_thumb.png
:alt: Constant Spatial Model
:ref:`sphx_glr_modeling_gallery_spatial_plot_constant.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spatial/plot_constant
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spatial/images/thumb/sphx_glr_plot_disk_thumb.png
:alt: Disk Spatial Model
:ref:`sphx_glr_modeling_gallery_spatial_plot_disk.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spatial/plot_disk
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spatial/images/thumb/sphx_glr_plot_gauss_thumb.png
:alt: Gaussian Spatial Model
:ref:`sphx_glr_modeling_gallery_spatial_plot_gauss.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spatial/plot_gauss
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spatial/images/thumb/sphx_glr_plot_gen_gauss_thumb.png
:alt: Generalized Gaussian Spatial Model
:ref:`sphx_glr_modeling_gallery_spatial_plot_gen_gauss.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spatial/plot_gen_gauss
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spatial/images/thumb/sphx_glr_plot_point_thumb.png
:alt: Point Spatial Model
:ref:`sphx_glr_modeling_gallery_spatial_plot_point.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spatial/plot_point
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spatial/images/thumb/sphx_glr_plot_shell_thumb.png
:alt: Shell Spatial Model
:ref:`sphx_glr_modeling_gallery_spatial_plot_shell.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spatial/plot_shell
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spatial/images/thumb/sphx_glr_plot_template_thumb.png
:alt: Template Spatial Model
:ref:`sphx_glr_modeling_gallery_spatial_plot_template.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spatial/plot_template
.. raw:: html
.. _sphx_glr_modeling_gallery_spectral:
.. _spectral_models_gallery:
Spectral Models
---------------
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_absorbed_thumb.png
:alt: EBL Absorbption Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_absorbed.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_absorbed
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_broken_powerlaw_thumb.png
:alt: Broken Power Law Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_broken_powerlaw.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_broken_powerlaw
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_compound_thumb.png
:alt: Compound Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_compound.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_compound
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_constant_spectral_thumb.png
:alt: Constant Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_constant_spectral.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_constant_spectral
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_exp_cutoff_powerlaw_thumb.png
:alt: Exponential Cutoff Powerlaw Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_exp_cutoff_powerlaw.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_exp_cutoff_powerlaw
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_exp_cutoff_powerlaw_3fgl_thumb.png
:alt: Exponential Cutoff Powerlaw Spectral Model used for 3FGL
:ref:`sphx_glr_modeling_gallery_spectral_plot_exp_cutoff_powerlaw_3fgl.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_exp_cutoff_powerlaw_3fgl
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_gauss_spectral_thumb.png
:alt: Gaussian Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_gauss_spectral.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_gauss_spectral
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_logparabola_thumb.png
:alt: Log Parabola Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_logparabola.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_logparabola
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_naima_thumb.png
:alt: Naima Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_naima.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_naima
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_piecewise_norm_spectral_thumb.png
:alt: Piecewise Norm Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_piecewise_norm_spectral.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_piecewise_norm_spectral
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_powerlaw_thumb.png
:alt: Power Law Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_powerlaw.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_powerlaw
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_powerlaw2_thumb.png
:alt: Power Law 2 Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_powerlaw2.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_powerlaw2
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_smooth_broken_powerlaw_thumb.png
:alt: Smooth Broken Power Law Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_smooth_broken_powerlaw.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_smooth_broken_powerlaw
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_super_exp_cutoff_powerlaw_3fgl_thumb.png
:alt: Super Exponential Cutoff Power Law Model used for 3FGL
:ref:`sphx_glr_modeling_gallery_spectral_plot_super_exp_cutoff_powerlaw_3fgl.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_super_exp_cutoff_powerlaw_3fgl
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_super_exp_cutoff_powerlaw_4fgl_thumb.png
:alt: Super Exponential Cutoff Power Law Model used for 4FGL
:ref:`sphx_glr_modeling_gallery_spectral_plot_super_exp_cutoff_powerlaw_4fgl.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_super_exp_cutoff_powerlaw_4fgl
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/spectral/images/thumb/sphx_glr_plot_template_spectral_thumb.png
:alt: Template Spectral Model
:ref:`sphx_glr_modeling_gallery_spectral_plot_template_spectral.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spectral/plot_template_spectral
.. raw:: html
.. _sphx_glr_modeling_gallery_temporal:
.. _temporal_models_gallery:
Temporal Models
---------------
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/temporal/images/thumb/sphx_glr_plot_LightCurveTemplate_temporal_thumb.png
:alt: LightCurve Temporal Model
:ref:`sphx_glr_modeling_gallery_temporal_plot_LightCurveTemplate_temporal.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/temporal/plot_LightCurveTemplate_temporal
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/temporal/images/thumb/sphx_glr_plot_constant_temporal_thumb.png
:alt: Constant Temporal Model
:ref:`sphx_glr_modeling_gallery_temporal_plot_constant_temporal.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/temporal/plot_constant_temporal
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/temporal/images/thumb/sphx_glr_plot_expdecay_temporal_thumb.png
:alt: ExpDecay Temporal Model
:ref:`sphx_glr_modeling_gallery_temporal_plot_expdecay_temporal.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/temporal/plot_expdecay_temporal
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/temporal/images/thumb/sphx_glr_plot_gaussian_temporal_thumb.png
:alt: Gaussian Temporal Model
:ref:`sphx_glr_modeling_gallery_temporal_plot_gaussian_temporal.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/temporal/plot_gaussian_temporal
.. raw:: html
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery `_