Dataset#
- class gammapy.datasets.Dataset[source]#
Bases:
ABC
Dataset abstract base class.
For now, see existing examples of type of datasets:
For more information see Datasets (DL4).
Attributes Summary
Methods Summary
copy
([name])Deep copy.
Statistic array, one value per data point.
stat_sum
()Total statistic given the current model parameters and priors.
to_dict
()Convert to dict for YAML serialization.
Attributes Documentation
- mask#
Combined fit and safe mask.
- name#
- stat_type#
The Fit Statistic class used.
- tag#
Methods Documentation
- copy(name=None)[source]#
Deep copy.
- Parameters:
- namestr, optional
Name of the copied dataset. Default is None.
- Returns:
- dataset
Dataset
Copied datasets.
- dataset
- __init__(*args, **kwargs)#
- classmethod __new__(*args, **kwargs)#