Crate liveplot

Crate liveplot 

Source
Expand description

LivePlot crate root: re-exports and module wiring.

This crate provides two ready-to-use plotting UIs built on egui/eframe:

  • Single-trace oscilloscope (scope)
  • Multi-trace oscilloscope (scope_multi)

The monolithic implementation has been refactored into cohesive modules:

  • sink: data types and channels to feed samples
  • controllers: external control of window/FFT panel
  • config: shared configuration and time formatting
  • scope: single-trace UI and run helpers
  • scope_multi: multi-trace UI and run helpers

Re-exports§

pub use config::LivePlotConfig;
pub use config::XDateFormat;
pub use controllers::FftController;
pub use controllers::FftPanelInfo;
pub use controllers::WindowController;
pub use controllers::WindowInfo;
pub use controllers::UiActionController;
pub use controllers::RawExportFormat;
pub use controllers::FftRawData;
pub use controllers::FftDataRequest;
pub use sink::channel_multi;
pub use sink::MultiPlotSink;
pub use sink::MultiSample;
pub use scope_multi::run_multi;
pub use scope_multi::run_multi_with_config;
pub use scope_multi::run_multi_with_options;
pub use scope_multi::run_multi_with_options_and_controllers;
pub use scope_multi::ScopeAppMulti;

Modules§

config
Configuration types shared across the live plot UIs.
controllers
Controllers for interacting with the UI from external code.
export
Data export utilities: align multi-trace time series by timestamp tolerance and write CSV.
scope_multi
Multi-trace oscilloscope UI: plots multiple named series with shared controls.
sink
Data source types and channels for feeding samples into the plotter UIs.

Structs§

MathTraceDef
Fully-defined math trace configuration.
TraceRef
Identifier of a source trace by name.

Enums§

FilterKind
Filter kind presets. When using a preset, parameters are derived per-sample-time.
MathKind
Math operation description.