FermiLATDataset

class gammapy.datasets.FermiLATDataset(filename)[source]

Bases: object

Fermi dataset container class, with lazy data access.

Parameters:

filename : str

Filename of the yaml file that specifies the data filenames.

Attributes Summary

background Predicted total background counts (SkyCube).
counts Counts cube.
events Event list (EventList).
exposure Exposure cube.
filenames Absolute path filenames.
galactic_diffuse Diffuse galactic model (SkyCube).
isotropic_diffuse Isotropic diffuse background model table.
name Name of the dataset
psf PSF (EnergyDependentTablePSF).

Methods Summary

info() Print summary info about the dataset.
validate()

Attributes Documentation

background

Predicted total background counts (SkyCube).

counts

Counts cube.

Returns:

cube : SkyCube or HpxNDMap

Counts cube

events

Event list (EventList).

exposure

Exposure cube.

Returns:

cube : SkyCube or HpxNDMap

Exposure cube.

filenames

Absolute path filenames.

galactic_diffuse

Diffuse galactic model (SkyCube).

isotropic_diffuse

Isotropic diffuse background model table.

Returns:

spectral_model : TableModel

Isotropic diffuse background model.

name

Name of the dataset

psf

PSF (EnergyDependentTablePSF).

Methods Documentation

info()[source]

Print summary info about the dataset.

validate()[source]