HDF5Merger#

class ctapipe.io.HDF5Merger(**kwargs: Any)[source]#

Bases: Component

Class to copy / append / merge ctapipe hdf5 files

Attributes Summary

append

If true, the output_path is appended to.

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

monitoring

Whether to include monitoring data in merged output

output_path

A path Trait for input/output files.

overwrite

If true, the output_path is overwritten in case it exists.

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 Summary

__call__(other)

Append file other to the output file

close()

Attributes Documentation

append#

If true, the output_path is appended to. See also overwrite

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

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_path is overwritten in case it exists. See also append

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

__call__(other: str | Path | File)[source]#

Append file other to the output file

close()[source]#