Skip to main content

Module analytics

Module analytics 

Source
Expand description

Temporal analytics — how event activity varies over the length of a recording.

The spatial counterpart already exists elsewhere: io::SliceSource::pixel_counts totals events per pixel across a whole file, which is the heatmap. This module is the other axis, and answers the questions that come up when a recording behaves oddly — where did the sensor saturate, where is the scene actually still, is one polarity dominating.

Counts are returned rather than plotted: the library depends on nothing but ndarray here, and a caller who wants a figure already has matplotlib.

Structs§

EventRate
Activity over time, binned into fixed-width intervals.