SourceCatalogLargeScaleHGPS#

class gammapy.catalog.SourceCatalogLargeScaleHGPS(table, interp_kwargs=None)[source]#

Bases: object

Gaussian band model.

This 2-dimensional model is Gaussian in y for a given x, and the Gaussian parameters can vary in x.

One application of this model is the diffuse emission along the Galactic plane, i.e. x = GLON and y = GLAT.

Parameters
tableTable

Table of Gaussian parameters. x, amplitude, mean, stddev.

interp_kwargsdict

Keyword arguments passed to ScaledRegularGridInterpolator.

Methods 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
positionSkyCoord

Position on the sky.

peak_brightness(glon)[source]#

Peak brightness at a given longitude.

Parameters
glonAngle

Galactic Longitude.

peak_brightness_error(glon)[source]#

Peak brightness error at a given longitude.

Parameters
glonAngle

Galactic Longitude.

peak_latitude(glon)[source]#

Peak position at a given longitude.

Parameters
glonAngle

Galactic Longitude.

peak_latitude_error(glon)[source]#

Peak position error at a given longitude.

Parameters
glonAngle

Galactic Longitude.

width(glon)[source]#

Width at a given longitude.

Parameters
glonAngle

Galactic Longitude.

width_error(glon)[source]#

Width error at a given longitude.

Parameters
glonAngle

Galactic Longitude.