modeling - Models and fitting#
gammapy.modeling Package#
Models and fitting.
Functions#
|
Compute the test statistic (TS) between two nested hypothesis. |
|
Compute upper limit of a parameter from a likelihood profile. |
Classes#
|
Parameter covariance class. |
|
Fit class. |
|
Fit result class. |
|
Optimize result object. |
|
Covariance result object. |
|
A model parameter. |
|
Parameters container. |
|
|
|
gammapy.modeling.models Package#
Built-in models in Gammapy.
Functions#
|
Cosmic a cosmic ray spectral model at Earth. |
|
Create a Crab nebula reference spectral model. |
Read Fermi isotropic diffuse model. |
|
|
Integrate one-dimensional function using the log-log trapezoidal rule. |
|
Scale flux to plot. |
|
Read 3d templates produced with hermes. |
Classes#
|
Spectral broken power-law model. |
|
Arithmetic combination of two spectral models. |
|
Spatially constant flux spatial model. |
|
Spatially constant (isotropic) spatial model. |
|
Constant model. |
|
Constant temporal model. |
|
Immutable models container. |
|
Constant disk model. |
|
Gamma-ray absorption models. |
|
Spectral exponential cutoff power-law model used for 3FGL. |
|
Norm spectral exponential cutoff power-law model. |
|
Spectral exponential cutoff power-law model. |
|
Temporal model with an exponential decay. |
|
Field of view background model. |
|
Two-dimensional Gaussian model. |
|
Gaussian spectral model. |
|
A Gaussian temporal profile. |
|
Two-dimensional Generalized Gaussian model. |
|
A generalized Gaussian temporal profile. |
|
Temporal light curve model. |
|
Temporal model with a linear variation. |
|
Norm spectral log parabola model. |
|
Spectral log parabola model. |
|
Meyer 2010 log polynomial Crab spectral model. |
|
Model class that contains only methods to create a model listed in the registries. |
|
Sky model collection. |
|
Model base class. |
|
A wrapper for Naima models. |
|
Piecewise spectral correction with a free normalization at each fixed energy nodes. |
|
Piecewise spatial correction with a free normalization at each fixed nodes. |
|
Point Source. |
|
Spectral power-law model with integral as amplitude parameter. |
|
Spectral power-law model with normalized amplitude parameter. |
|
Spectral power-law model. |
|
Temporal model with a Power Law decay. |
|
Prior base class. |
|
Wrapper to scale another spectral model by a norm factor. |
|
Shell model with outer radius and relative width parametrization. |
|
Shell model. |
|
Temporal model with a sinusoidal modulation. |
|
Sky model component. |
|
Spectral smooth broken power-law model. |
|
Spatial model base class. |
|
Spectral model base class. |
|
Spectral super exponential cutoff power-law model used for 3FGL. |
Spectral super exponential cutoff power-law model used for 4FGL-DR3. |
|
|
Spectral super exponential cutoff power-law model used for 4FGL-DR1 (and DR2). |
|
Temporal phase curve model. |
|
Spatial sky map template model. |
|
A model generated from a table of energy and value arrays. |
|
A model generated from a ND map where extra dimensions define the parameter space. |
|
A model generated from a ND map where extra dimensions define the parameter space. |
|
Background model. |
|
Temporal model base class. |
Variables#
Registry of model classes |
|
Registry of spatial model classes. |
|
Registry of spectral model classes. |
|
Registry of temporal models classes. |
|
gammapy.modeling.models.utils Module#
Functions#
|
Read 3d templates produced with hermes. |