Datasets

class gammapy.utils.fitting.Datasets(datasets)[source]

Bases: object

Join multiple datasets.

Parameters:
datasets : Dataset or list of Dataset

List of Dataset objects ot be joined.

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
parameters
types Types of the contained datasets

Methods Summary

copy(self) A deep copy.
likelihood(self) 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

parameters
types

Types of the contained datasets

Methods Documentation

copy(self)[source]

A deep copy.

likelihood(self)[source]

Compute joint likelihood