make_test_psf

gammapy.datasets.make_test_psf(energy_bins=15, theta_bins=12)[source]

Create a test FITS PSF file.

A log-linear dependency in energy is assumed, where the size of the PSF decreases by a factor of tow over tow decades. The theta dependency is a parabola where at theta = 2 deg the size of the PSF has increased by 30%.

Parameters:

energy_bins : int

Number of energy bins.

theta_bins : int

Number of theta bins.

Returns:

psf : EnergyDependentMultiGaussPSF

PSF.