Data Slicing - OpenDiabetes/OpenDiabetesVault-engine GitHub Wiki
For most experiments we have a certain focus on what kind of data we need and how the quality has to be.
To get this focused data we provide the DataSlicer. As shown in the figure below it takes data from the data base, some options and some filters and produces a list with time points where events occur specified by the filter.
Filters can be registered at the DataSlicer and implement the Filter interface. The filters are combined with the logical and paradigm. As shown in the figure below, filters take a data array together with options. The filter will delete not matching data from the array and returns it together with a list of time spans where continuous data is present (this could be used to find the data in the complete array again).