Dataset

class gammapy.utils.fitting.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.
likelihood(self) Total likelihood given the current model parameters.
likelihood_per_bin(self) Likelihood per bin given the current model parameters

Attributes Documentation

mask

Combined fit and safe mask

Methods Documentation

copy(self)[source]

A deep copy.

likelihood(self)[source]

Total likelihood given the current model parameters.

likelihood_per_bin(self)[source]

Likelihood per bin given the current model parameters