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 geometry.

rad_maxRadMax2D

Rhe 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.