SensitivityTable

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

Bases: object

Sensitivity 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

Sensitivity

Attributes Summary

energy

Methods Summary

from_hdulist(hdulist[, hdu])
from_table(table)
plot([ax, energy]) Plot sensitivity.
read(filename[, hdu])

Attributes Documentation

energy

Methods Documentation

classmethod from_hdulist(hdulist, hdu='SENSITIVITY')[source]
classmethod from_table(table)[source]
plot(ax=None, energy=None, **kwargs)[source]

Plot sensitivity.

Parameters:

ax : Axes, optional

Axis

energy : Quantity

Energy nodes

Returns:

ax : Axes

Axis

classmethod read(filename, hdu='SENSITVITY')[source]