bonsai-rx / machinelearning

Bonsai Library containing reactive infrastructure for machine learning
https://bonsai-rx.org/machinelearning/
MIT License
4 stars 4 forks source link

Updated timeseries visualizers for kinematics model and mashup visualizers #12

Closed ncguilbeault closed 5 months ago

ncguilbeault commented 6 months ago

Summary

This PR makes several updates to the oxyplot timeseries visualizer and related visualizers.

Updates to TimeSeriesOxyPlotBase

This class was refactored to better facilitate control of the line series and area series from classes that use this plot. A property called BufferData was added to allow control over whether new data points should be continually added to the series or whether out of view data should be removed from the buffer. Additionally, all controls over the plot have been moved to the status strip of the plot as opposed to overlaid on the plot, and creation/event handling of the controls is left to the classes that use the plot compared to the plot itself.

Updates to KinematicComponentVisualizer

This was updated to reflect the changes to the time series oxyplot base class.

New classes

2 new visualizer classes were added. A visualizer was added to observe the StateComponent, the basic component of the lds model, as well as a visualizer to observe the KinematicState and be able to select both kinematic components as well as state components.