HDF5Merger#
- class ctapipe.io.HDF5Merger(*args: t.Any, **kwargs: t.Any)[source]#
Bases:
ComponentClass to copy / append / merge ctapipe hdf5 files
Attributes Summary
If true, the
output_pathis appended to.Whether to include dl1 images in merged output
Whether to include dl1 muon parameters in merged output
Whether to include dl1 image parameters in merged output
Whether to include dl2 subarray-event-wise data in merged output
Whether to include dl2 telescope-event-wise data in merged output
Strategy to handle different use cases when merging HDF5 files.
Whether to include monitoring data in merged output
A path Trait for input/output files.
If true, the
output_pathis overwritten in case it exists.Whether to include processing statistics in merged output
Whether to include r0 waveforms in merged output
Whether to include r1 waveforms in merged output
Whether to include data only known for simulations in merged output
Whether to include telescope-wise data in merged output
Whether to include true images in merged output
Whether to include parameters calculated on true images in merged output
Methods Summary
Attributes Documentation
- append#
If true, the
output_pathis appended to. See alsooverwrite
- dl1_images#
Whether to include dl1 images in merged output
- dl1_muon#
Whether to include dl1 muon parameters in merged output
- dl1_parameters#
Whether to include dl1 image parameters in merged output
- dl2_subarray#
Whether to include dl2 subarray-event-wise data in merged output
- dl2_telescope#
Whether to include dl2 telescope-event-wise data in merged output
- merge_strategy#
Strategy to handle different use cases when merging HDF5 files. ‘events-multiple-obs’: allows merging event files (w and w/o monitoring data) from different observation blocks; ‘events-single-ob’: for merging events in consecutive chunks of the same OB.’monitoring-only’: attaches horizontally monitoring data from the same observation block (requires monitoring=True).
- monitoring#
Whether to include monitoring data in merged output
- output_path#
A path Trait for input/output files.
- Attributes:
- exists: boolean or None
If True, path must exist, if False path must not exist
- directory_ok: boolean
If False, path must not be a directory
- file_ok: boolean
If False, path must not be a file
- overwrite#
If true, the
output_pathis overwritten in case it exists. See alsoappend
- processing_statistics#
Whether to include processing statistics in merged output
- r0_waveforms#
Whether to include r0 waveforms in merged output
- r1_waveforms#
Whether to include r1 waveforms in merged output
- simulation#
Whether to include data only known for simulations in merged output
- telescope_events#
Whether to include telescope-wise data in merged output
- true_images#
Whether to include true images in merged output
- true_parameters#
Whether to include parameters calculated on true images in merged output
Methods Documentation