make_counts_off_rad_max#

gammapy.makers.utils.make_counts_off_rad_max(geom_off, rad_max, events)[source]#

Extract the OFF counts from a list of point regions and given rad max.

This method does not check for overlap of the regions defined by rad_max.

Parameters:
geom_offRegionGeom

Reference map geometry for the on region.

rad_maxRadMax2D

The RAD_MAX_2D table IRF.

eventsEventList

Event list to be used to compute the OFF counts.

Returns:
counts_offRegionNDMap

OFF Counts vs estimated energy extracted from the ON region.