legend-exp / pygama

Python package for data processing and analysis
https://pygama.readthedocs.io
GNU General Public License v3.0
18 stars 56 forks source link

`build_hit()` should write a Struct of Tables #566

Open gipert opened 8 months ago

gipert commented 8 months ago

Meaning that the hit tables for each channel would sit in a lgdo.Struct, instead of sitting in a bare HDF5 group.

This would be useful to allow users to read the entire /hit in memory at once (or use the field_mask argument to apply a filter). Given a list of channel, one can only do so by manually looping, at the moment.