BackgroundModel

class gammapy.cube.models.BackgroundModel(background, norm=1, tilt=0, reference='1 TeV')[source]

Bases: gammapy.utils.fitting.Model

Background model

Parameters:
background : Map

Background model map

norm : float

Background normalisation

tilt : float

Additional tilt in the spectrum

reference : Quantity

Reference energy of the tilt.

Attributes Summary

energy_center True energy axis bin centers (Quantity)

Methods Summary

copy() A deep copy.
evaluate() Evaluate background model

Attributes Documentation

energy_center

True energy axis bin centers (Quantity)

Methods Documentation

copy()

A deep copy.

evaluate()[source]

Evaluate background model