FrameFilterByTimeDelta¶

class standard_e2e.indexing.filters.FrameFilterByTimeDelta(time_delta)[source]¶

Bases: IndexFilter

Filter to select frames based on timing criteria. Parameter delta_t ensures the margin from the edges of the segment. If delta_t is positive (future) it ensures that the frame is not too close to the end of the segment. If delta_t is negative (past) it ensures that the frame is not too close to the beginning of the segment.

Parameters:

time_delta (float)

FILTERING_COL_NAME = '_FILTERING_COL'¶
filter(index_data)¶

Apply the filter to the index data.

Return type:

DataFrame

Parameters:

index_data (DataFrame)

property name: str¶

Return the name of the filter.