BackgroundEstimate

class gammapy.background.BackgroundEstimate(on_region, on_events, off_region, off_events, a_on, a_off, method='default')[source]

Bases: object

Container class for background estimate.

This container holds the result from a region based background estimation for one observation.

Created e.g. by ReflectedRegionsBackgroundEstimator.

Parameters:
on_region : SkyRegion

Signal extraction region

on_events : EventList

Signal events

off_region : SkyRegion

Background extraction region

off_events : EventList

Background events

a_on : float

Relative background exposure of the on region

a_off : float

Relative background exposure of the off region

method : str

Background estimation method