Dataset

class gammapy.modeling.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

Methods Summary

copy(self)

A deep copy.

stat_array(self)

Statistic array, one value per data point.

stat_sum(self)

Total statistic given the current model parameters.

Attributes Documentation

mask

Combined fit and safe mask

Methods Documentation

copy(self)[source]

A deep copy.

abstract stat_array(self)[source]

Statistic array, one value per data point.

stat_sum(self)[source]

Total statistic given the current model parameters.