EventTable.read(): modify API for `hdf5.snax` format
Created by: myNameIsPatrick
This modifies the channel
argument to be optional (now channels
) and allows for more flexible behavior for reading SNAX files. In particular, this allows reading multiple channels at once from a single hdf5 file by providing a list of channels. If channels
is not specified, this will attempt to read in all channels from the file.
In order to preserve the uniqueness across channels, a 'channel' column is added into the EventTable
during the read process.
Also update relevant unit tests for all modified behavior as well as the docs on "Reading and writing Table and EventTable objects" in the SNAX section.