Skip to main content
Ctrl+K
gammapy vX.Y.Z - Home gammapy vX.Y.Z - Home
  • Getting started
  • User guide
  • Tutorials
  • API reference
  • Developer guide
  • Release notes
  • Github
  • Slack
  • Getting started
  • User guide
  • Tutorials
  • API reference
  • Developer guide
  • Release notes
  • Github
  • Slack

Section Navigation

  • Fundamental Concepts: Gammapy analysis workflow and package structure
    • Data access and selection (DL3)
    • Instrument Response Functions (DL3)
      • Effective area
      • Background
      • Energy Dispersion
      • Point Spread Function
    • Data reduction (DL3 to DL4)
      • FoV background
      • Reflected regions background
      • Ring background
    • Sky maps (DL4)
      • HEALPix-based maps
      • RegionGeom and RegionNDMap
    • Datasets (DL4)
    • Modeling and Fitting (DL4 to DL5)
    • Estimators (DL4 to DL5, and DL6)
    • High Level Analysis Interface
    • Command line tools
    • Source catalogs
    • Astrophysics
      • Astrophysical source models
        • Supernova Remnant Models
        • Pulsar Wind Nebula Source Models
        • Pulsar Source Models
      • Astrophysical source population models
      • Dark matter
    • Statistics in Gammapy
      • Fit statistics
      • Derivation of the WStat formula
    • Visualization
    • Utility functions
  • How To
  • Model gallery
    • Spatial models
      • Disk spatial model
      • Generalized gaussian spatial model
      • Shell2 spatial model
      • Constant spatial model
      • Template spatial model
      • Point spatial model
      • Shell spatial model
      • Piecewise norm spatial model
      • Gaussian spatial model
    • Spectral models
      • Constant spectral model
      • Log parabola spectral norm model
      • Power law spectral model
      • Exponential cutoff power law norm spectral model
      • EBL absorption spectral model
      • Power law norm spectral model
      • Log parabola spectral model
      • Super Exponential Cutoff Power Law Model used for 4FGL-DR1 (and DR2)
      • Power law 2 spectral model
      • Exponential cutoff power law spectral model
      • Piecewise norm spectral model
      • Exponential cutoff power law spectral model used for 3FGL
      • Template spectral model
      • Super exponential cutoff power law model used for 3FGL
      • Super Exponential Cutoff Power Law Model used for 4FGL-DR3
      • Smooth broken power law spectral model
      • Gaussian spectral model
      • Naima spectral model
      • Broken power law spectral model
      • Compound spectral model
    • Temporal models
      • Phase curve temporal model
      • Linear temporal model
      • Sine temporal model
      • Generalized Gaussian temporal model
      • PowerLaw temporal model
      • Light curve temporal model
      • Constant temporal model
      • ExpDecay temporal model
      • Gaussian temporal model
  • Gammapy recipes
  • Glossary and references
  • User guide
  • 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:

  • SpectralModel: models to describe spectral shapes of sources

  • SpatialModel: models to describe spatial shapes (morphologies) of sources

  • 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.

Spatial models#

Disk spatial model

Disk spatial model

Generalized gaussian spatial model

Generalized gaussian spatial model

Shell2 spatial model

Shell2 spatial model

Constant spatial model

Constant spatial model

Template spatial model

Template spatial model

Point spatial model

Point spatial model

Shell spatial model

Shell spatial model

Piecewise norm spatial model

Piecewise norm spatial model

Gaussian spatial model

Gaussian spatial model

Spectral models#

Constant spectral model

Constant spectral model

Log parabola spectral norm model

Log parabola spectral norm model

Power law spectral model

Power law spectral model

Exponential cutoff power law norm spectral model

Exponential cutoff power law norm spectral model

EBL absorption spectral model

EBL absorption spectral model

Power law norm spectral model

Power law norm spectral model

Log parabola spectral model

Log parabola spectral model

Super Exponential Cutoff Power Law Model used for 4FGL-DR1 (and DR2)

Super Exponential Cutoff Power Law Model used for 4FGL-DR1 (and DR2)

Power law 2 spectral model

Power law 2 spectral model

Exponential cutoff power law spectral model

Exponential cutoff power law spectral model

Piecewise norm spectral model

Piecewise norm spectral model

Exponential cutoff power law spectral model used for 3FGL

Exponential cutoff power law spectral model used for 3FGL

Template spectral model

Template spectral model

Super exponential cutoff power law model used for 3FGL

Super exponential cutoff power law model used for 3FGL

Super Exponential Cutoff Power Law Model used for 4FGL-DR3

Super Exponential Cutoff Power Law Model used for 4FGL-DR3

Smooth broken power law spectral model

Smooth broken power law spectral model

Gaussian spectral model

Gaussian spectral model

Naima spectral model

Naima spectral model

Broken power law spectral model

Broken power law spectral model

Compound spectral model

Compound spectral model

Temporal models#

Phase curve temporal model

Phase curve temporal model

Linear temporal model

Linear temporal model

Sine temporal model

Sine temporal model

Generalized Gaussian temporal model

Generalized Gaussian temporal model

PowerLaw temporal model

PowerLaw temporal model

Light curve temporal model

Light curve temporal model

Constant temporal model

Constant temporal model

ExpDecay temporal model

ExpDecay temporal model

Gaussian temporal model

Gaussian temporal model

Download all examples in Python source code: model-gallery_python.zip

Download all examples in Jupyter notebooks: model-gallery_jupyter.zip

Gallery generated by Sphinx-Gallery

On this page
  • Spatial models
  • Spectral models
  • Temporal models

This Page

  • Show Source

© Copyright 2025, The Gammapy developers.

Licensed under CC BY-NC-SA.

Examples, recipes, and other code licensed under BSD 3-Clause "New" or "Revised" license.

Gammapy Data Privacy information.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.16.1.