Skip to main content

Module attr_plot

Module attr_plot 

Source
Expand description

NDPluginAttrPlot: tracks numeric attribute values over time in circular buffers.

On the first frame, the plugin scans the array’s attribute list and auto-detects all numeric attributes (those where as_f64() returns Some). The attribute names are sorted alphabetically for deterministic ordering. On subsequent frames, each tracked attribute’s value is pushed into a per-attribute circular buffer (VecDeque).

If the array’s unique_id decreases relative to the previous frame, all buffers are reset (indicating a new acquisition).

Structs§

AttrPlotProcessor
Processor that tracks attribute values over time in circular buffers.