datasets - Reduced datasets

Introduction

The gammapy.datasets sub-package contains classes to handle reduced gamma-ray data for modeling and fitting.

Getting Started

The Dataset class bundles reduced data, IRFs and model to perform likelihood fitting and joint-likelihood fitting.

Reference/API

gammapy.datasets Package

Classes

Dataset

Dataset abstract base class.

Datasets([datasets])

Dataset collection.

MapDatasetOnOff([models, counts, …])

Map dataset for on-off likelihood fitting.

SpectrumDataset([models, counts, livetime, …])

Spectrum dataset for likelihood fitting.

MapDataset([models, counts, exposure, …])

Perform sky model likelihood fit on maps.

SpectrumDatasetOnOff([models, counts, …])

Spectrum dataset for on-off likelihood fitting.

FluxPointsDataset(models, data[, mask_fit, …])

Fit a set of flux points with a parametric model.