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
- geom
RegionGeom
reference map geom
- rad_max
RadMax2D
the RAD_MAX_2D table IRF
- events
EventList
event list to be used to compute the ON counts
- geom
- Returns
- counts
RegionNDMap
Counts vs estimated energy extracted from the ON region.
- counts