Hello,
I'm configuring bci2000 for a mu-rhythm task, with AR analysis for feature extraction, and the D2Box task as feedback.
I'm using the D2Box because of its configuration flexibility, which allows me to program different (multi-dimensional) tasks.
I wanted to measure the system's performance given different parameters, in offline operation, so i coded a file "Playback" Source module, which takes a previous recorded session as input and "plays" it like it was live input.
My question is: can i configure the D2Box to place targets in a non-random (predefined) sequence? that way i could repeat the offline session..
thank you!
D2Box
-
gschalk
- Posts: 615
- Joined: 28 Jan 2003, 12:37
Combined signal processing ...
Luis,
We have had the idea with the playback source come up many times over the past few years. To date, we have always rejected the possibility of writing a source like this ourselves, and have thus also not implemented the possibility for controlling modules from restored states (such as the targetcode states stored in the datafile). While it might be nice to do this, we have resisted this possibility for a number of reasons. The most important reason is that that implementation of this possibility facilitates simulations with small datasets and simple statical metrics (such as the change in hit rate due to a change in signal processing parameters), rather than the use of comprehensive offline analyses using more sophisticated statistical metrics (such as r^2 or p).
In, we do not currently have the capacity to place targets in a predefined sequence, and while possible to implement, I would discourage this possibility.
I hope this helps.
The Gerv
We have had the idea with the playback source come up many times over the past few years. To date, we have always rejected the possibility of writing a source like this ourselves, and have thus also not implemented the possibility for controlling modules from restored states (such as the targetcode states stored in the datafile). While it might be nice to do this, we have resisted this possibility for a number of reasons. The most important reason is that that implementation of this possibility facilitates simulations with small datasets and simple statical metrics (such as the change in hit rate due to a change in signal processing parameters), rather than the use of comprehensive offline analyses using more sophisticated statistical metrics (such as r^2 or p).
In, we do not currently have the capacity to place targets in a predefined sequence, and while possible to implement, I would discourage this possibility.
I hope this helps.
The Gerv
-
mellinger
- Posts: 1341
- Joined: 12 Feb 2003, 11:06
D2Box
Luis,
there is no configuration option for replicating a task sequence.
As a simple modification, I suggest using a parameter for the random number generator seed, so information about the sequence will be preserved in that parameter.
In Application/D2Box/Task.cpp, TTask::Initialize(), there is a line reading
Replace this by
and add a definition for the new parameter to the constructor. In that definition, you should specify the parameter value to be zero -- that way, your modified D2Box task will behave as usual by default.
Regards,
Juergen
there is no configuration option for replicating a task sequence.
As a simple modification, I suggest using a parameter for the random number generator seed, so information about the sequence will be preserved in that parameter.
In Application/D2Box/Task.cpp, TTask::Initialize(), there is a line reading
Code: Select all
randseed=-ctime;Code: Select all
if(Parameter("TaskRandSeed")!=0)
randseed=Parameter("TaskRandSeed");
else
randseed=-ctime;Regards,
Juergen
Who is online
Users browsing this forum: No registered users and 0 guests
