HDF5 KW triggers
Implements reed.essick/iDQ#31 by adding a helper script, idq-kwm2hdf5
to reads in KWM files and generates hdf5-formatted files. It also adds a KWMHDF5ClassifierData
to read in these hdf5 files, following a similar scheme to GstlalHDF5ClassifierData
but in a simplified form.
Tested by comparing the results of KWMClassifierData.triggers()
with KWMHDF5ClassifierData.triggers()
in three ways:
- assert that the channels contained are equal
- assert that the output shapes are equal for every channel
- assert that the numpy arrays are equal for every row for every channel
Closes reed.essick/iDQ#31.