Open wutwasthat opened 11 months ago
Error encounter when using stream srate is set to 1366 in the StreamOptionWindow.
To reproduce, start the LSLOutletExample (doesn't matter # channels and its actual srate). Start PhysioLabXR, add the stream, start streaming, open StreamOptionWindow and set the "nominal sampling rate" to 1366. The exception occurs at line 211 of GroupPlotWidget:
Exception('X array and Y matrix must be the same shape--got (119,) and ( ,238).')
These numbers are not always the same, they depend on the srates.
I recommend using test/PerformanceBenchmark.py -> test_stream_visualization_dummy_streams_performance to test if everything checks out. This tests sweeps through streams with different srates.
Fixed. Performance test file seems to be running a very very very long time, not sure if it's suppose to or something is happening.