-
Notifications
You must be signed in to change notification settings - Fork 0
Filter
For data filtering we provide the abstract Filter
class. Filters can be registered at processing services like the DataSlicer
and have to extend the Filter class. Multiple 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 the wanted data 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).
For basic method summary, see also the Filter Javadoc
Also note, thall all relevant parameters for initialization have to be given via a FilterOption Object,
see FilterOption and its subclasses
This kind of filter is used to find a time point or a time span where some kind of event happened or some kind of data is available or not available. For instance, if you want to check the basal insulin rate you search for time spans where no bolus is given. Filters of the time point type should provide a margin option enable data observation around the found point.
See also: DateTimePointFilter, DateTimeSpanFilter, TimePointFilter, TimeSpanFilter
This kind of filter are used to find data over or under a certain threshold.
See also: ThresholdFilter
These Filter provide logical "And"/conjunction, "Or"/disjunction and "Negation" behavior for one or mulitple Filters.
Combine Filter behaviour of multiple filters, or query results.
If you want to create combined Filters, see Combination Filter
These Filters are usually non-commutative, meaning the order of executuion matters for the final result!
Filters with advanced behaviour are:
Created by OpenDiabetesVault Team 2018