Namespace MOSAIC.Visualization.SnapshotMonitor
Classes
SnapshotMonitor
Real-time A-mode snapshot monitor backed by ScottPlot.
Architecture: Unlike ScopeMonitor which streams multi-channel time-series data, this monitor displays spatial waveforms (e.g., ultrasound A-mode lines) as snapshots — X axis is sample index (depth), Y axis is amplitude. The entire waveform is replaced on each frame.
Multi-trace: When fed a MathNet.Numerics.LinearAlgebra.Matrix<T>, each row becomes a separate colored trace (one per TX/RX config). Colors reuse ChannelColors for consistency. When fed a MathNet.Numerics.LinearAlgebra.Vector<T>, a single trace is shown.
SnapshotMonitorView
Hosts a ScottPlot ScottPlot.Avalonia.AvaPlot bound to a SnapshotMonitor.
Legend: Colored dots with channel labels. Click to solo; click again to restore all. An "All" label provides an explicit restore-all target.
Settings: Gear button opens autoscale/fixed-range flyout.
Sizing: S / M / L buttons matching VisualizationPanel pattern.
Structs
SnapshotMonitor.SnapshotFrame
Snapshot payload: either a single row or multiple rows.