RecoPSFMap#
- class gammapy.irf.RecoPSFMap[source]#
Bases:
PSFMap
Class containing the Map of PSFs in reconstructed energy and allowing to interact with it.
- Parameters:
Attributes Summary
Methods Summary
containment
(rad, energy[, position])Containment at given coordinates.
containment_radius
(fraction, energy[, position])Containment at given coordinates.
containment_radius_map
(energy[, fraction])Containment radius map.
from_gauss
(energy_axis[, rad_axis, sigma, geom])Create all -sky PSF map from Gaussian width.
plot_psf_vs_rad
([ax, energy])Plot PSF vs radius.
stack
(other[, weights, nan_to_num])Stack IRF map with another one in place.
Attributes Documentation
- energy_name#
- required_axes = ['rad', 'energy']#
- tag = 'psf_map_reco'#
Methods Documentation
- classmethod from_gauss(energy_axis, rad_axis=None, sigma=<Quantity 0.1 deg>, geom=None)[source]#
Create all -sky PSF map from Gaussian width.
This is used for testing and examples.
The width can be the same for all energies or be an array with one value per energy node. It does not depend on position.
- plot_psf_vs_rad(ax=None, energy=<Quantity [ 0.1, 1., 10. ] TeV>, **kwargs)[source]#
Plot PSF vs radius.
The method plots the profile at the center of the map.
- __init__(psf_map, exposure_map=None)#
- classmethod __new__(*args, **kwargs)#