Datasets

class gammapy.utils.fitting.Datasets(datasets, mask=None)[source]

Bases: object

Join multiple datasets.

Parameters:
datasets : Dataset or list of Dataset

List of Dataset objects ot be joined.

mask : ndarray

Global fitting mask used for all datasets.

Attributes Summary

datasets List of datasets
is_all_same_shape Whether all contained datasets have the same data shape
is_all_same_type Whether all contained datasets are of the same type
types Types of the contained datasets

Methods Summary

likelihood([parameters]) Compute joint likelihood

Attributes Documentation

datasets

List of datasets

is_all_same_shape

Whether all contained datasets have the same data shape

is_all_same_type

Whether all contained datasets are of the same type

types

Types of the contained datasets

Methods Documentation

likelihood(parameters=None)[source]

Compute joint likelihood