GaussianBand2D¶
-
class
gammapy.background.GaussianBand2D(table, spline_kwargs={'k': 1, 's': 0})[source]¶ Bases:
objectGaussian band model.
This 2-dimensional model is Gaussian in
yfor 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 = GLONandy = GLAT.Parameters: table :
TableTable of Gaussian parameters.
x,amplitude,mean,stddev.spline_kwargs : dict
Keyword arguments passed to
UnivariateSplineMethods Summary
evaluate(position)Evaluate model at a given position. peak_brightness(glon)Peak brightness at a given longitude. peak_brightness_error(glon)Peak brightness error at a given longitude. peak_latitude(glon)Peak position at a given longitude. peak_latitude_error(glon)Peak position error at a given longitude. width(glon)Width at a given longitude. width_error(glon)Width error at a given longitude. Methods Documentation
-
evaluate(position)[source]¶ Evaluate model at a given position.
Parameters: position :
SkyCoordPosition on the sky.
-
peak_brightness(glon)[source]¶ Peak brightness at a given longitude.
Parameters: glon :
LongitudeGalactic Longitude.
-
peak_brightness_error(glon)[source]¶ Peak brightness error at a given longitude.
Parameters: Galactic Longitude.
-
peak_latitude_error(glon)[source]¶ Peak position error at a given longitude.
Parameters: Galactic Longitude.
-