[][src]Function aw_transform::flood

pub fn flood(events: Vec<Event>, pulsetime: Duration) -> Vec<Event>

Floods event to the nearest neighbouring event if within the specified pulsetime

Also merges events if they have the same data and are within the pulsetime

Example

This example is not tested
pulsetime: 1 second (one space)
input:  [a] [a]  [b][b]    [b][c]
output: [a     ][b    ]    [b][c]