: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_shell2_thumb.png
:alt: Shell2 spatial model
:ref:`sphx_glr_modeling_gallery_spatial_plot_shell2.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/spatial/plot_shell2
.. 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 power law 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 power law 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_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
.. figure:: /modeling/gallery/temporal/images/thumb/sphx_glr_plot_linear_temporal_thumb.png
:alt: Linear temporal model
:ref:`sphx_glr_modeling_gallery_temporal_plot_linear_temporal.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/temporal/plot_linear_temporal
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/temporal/images/thumb/sphx_glr_plot_powerlaw_temporal_thumb.png
:alt: PowerLaw temporal model
:ref:`sphx_glr_modeling_gallery_temporal_plot_powerlaw_temporal.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/temporal/plot_powerlaw_temporal
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/temporal/images/thumb/sphx_glr_plot_sine_temporal_thumb.png
:alt: Sine temporal model
:ref:`sphx_glr_modeling_gallery_temporal_plot_sine_temporal.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/temporal/plot_sine_temporal
.. raw:: html
.. only:: html
.. figure:: /modeling/gallery/temporal/images/thumb/sphx_glr_plot_template_temporal_thumb.png
:alt: Light curve temporal model
:ref:`sphx_glr_modeling_gallery_temporal_plot_template_temporal.py`
.. raw:: html
.. toctree::
:hidden:
/modeling/gallery/temporal/plot_template_temporal
.. raw:: html
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery `_