Dataset

class gammapy.datasets.Dataset[source]

Bases: abc.ABC

Dataset abstract base class.

TODO: add tutorial how to create your own dataset types.

For now, see existing examples in Gammapy how this works:

Attributes Summary

mask

Combined fit and safe mask

tag

Methods Summary

copy([name])

A deep copy.

stat_array()

Statistic array, one value per data point.

stat_sum()

Total statistic given the current model parameters.

Attributes Documentation

mask

Combined fit and safe mask

tag

Methods Documentation

copy(name=None)[source]

A deep copy.

abstract stat_array()[source]

Statistic array, one value per data point.

stat_sum()[source]

Total statistic given the current model parameters.