Psf68Table

class gammapy.irf.Psf68Table(energy_lo, energy_hi, data)[source]

Bases: object

Background rate table.

The IRF format should be compliant with the one discussed at http://gamma-astro-data-formats.readthedocs.io/en/latest/irfs/. Work will be done to fix this.

Parameters:

energy_lo, energy_hi : Quantity, BinnedDataAxis

Bin edges of energy axis

data : Quantity

Background rate

Attributes Summary

energy

Methods Summary

from_hdulist(hdulist[, hdu])
from_table(table) PSF reader
plot([ax, energy]) Plot point spread function.
read(filename[, hdu])

Attributes Documentation

energy

Methods Documentation

classmethod from_hdulist(hdulist, hdu='POINT SPREAD FUNCTION')[source]
classmethod from_table(table)[source]

PSF reader

plot(ax=None, energy=None, **kwargs)[source]

Plot point spread function.

Parameters:

ax : Axes, optional

Axis

energy : Quantity

Energy nodes

Returns:

ax : Axes

Axis

classmethod read(filename, hdu='POINT SPREAD FUNCTION')[source]