make_counts_rad_max#

gammapy.makers.utils.make_counts_rad_max(geom, rad_max, events)[source]#

Extract the counts using for the ON region size the values in the RAD_MAX_2D table.

Parameters
geomRegionGeom

reference map geom

rad_maxRadMax2D

the RAD_MAX_2D table IRF

eventsEventList

event list to be used to compute the ON counts

Returns
countsRegionNDMap

Counts vs estimated energy extracted from the ON region.