PhysioLabXR / PhysioLabXR-Community

GNU General Public License v3.0
31 stars 13 forks source link

Question regarding buffer in: PhysioLabXR-Community/physiolabxr/scripting/Examples/PhysioLabXR_Balanceball_Demo /MotorImageryBalanceBall.py #139

Open UdaiLaith opened 3 months ago

UdaiLaith commented 3 months ago

Dear community,

When doing the training in the motor imaginary example, Motor Imaginary Example, where is the data temporary collected?

If for example we do a training session of 15, the training will go longer than 10 seconds and if the buffer duration in the scripting tab is defined to be 10 seconds, only the newest 10 seconds of data would be accessible in the loop. Still, when building the epochs, the data and markers are gathered from the streams, and somehow all data is available.

Is the buffer different from the stream, and the stream holds all data in the memory?

Most probably I am confusing something.

Thank you for your time, work, help and feedback.

Best wishes, Udai