DatasetsMaker¶
-
class
gammapy.makers.
DatasetsMaker
(makers, stack_datasets=True, n_jobs=None, cutout_mode='partial', cutout_width=None)[source]¶ Bases:
gammapy.makers.Maker
Run makers in a chain
- Parameters
Attributes Summary
Methods Summary
callback
(dataset)error_callback
(dataset)make_dataset
(dataset, observation)Make single dataset.
run
(dataset, observations[, datasets])Run data reduction
Attributes Documentation
-
offset_max
¶
-
safe_mask_maker
¶
-
tag
= 'DatasetsMaker'¶
Methods Documentation
-
make_dataset
(dataset, observation)[source]¶ Make single dataset.
- Parameters
- dataset
MapDataset
Reference dataset
- observation
Observation
Observation
- dataset
-
run
(dataset, observations, datasets=None)[source]¶ Run data reduction
- Parameters
- dataset
MapDataset
Reference dataset (used only for stacking if datasets are provided)
- observations
Observations
Observations
- datasets
Datasets
Base datasets, if provided its length must be the same than the observations.
- dataset
- Returns
- datasets
Datasets
Datasets
- datasets