GaussianBand2D¶
-
class
gammapy.background.
GaussianBand2D
(table, spline_kwargs={'s': 0, 'k': 1})[source]¶ Bases:
object
Gaussian band model.
This 2-dimensional model is Gaussian in
y
for a givenx
, and the Gaussian parameters can vary inx
.One application of this model is the diffuse emission along the Galactic plane, i.e.
x = GLON
andy = GLAT
.Parameters: table :
Table
Table of Gaussian parameters.
x
,amplitude
,mean
,stddev
.spline_kwargs : dict
Keyword arguments passed to
UnivariateSpline
Methods Summary
evaluate
(x, y)Evaluate model at a given position (x, y)
position.parvals
(x)Interpolated parameter values at a given x
.y_model
(x)Create model at a given x
position.Methods Documentation