Skip to content

HDF5 KW triggers

Patrick Godwin requested to merge hdf5_kw_triggers into master

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:

  1. assert that the channels contained are equal
  2. assert that the output shapes are equal for every channel
  3. assert that the numpy arrays are equal for every row for every channel

Closes reed.essick/iDQ#31.

Merge request reports

Loading