This forum deals with BCI2000 configuration issues.
Posts: 4
Joined: 31 Jan 2006, 17:15


Post by luisgomes » 31 May 2006, 10:54


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!

Posts: 615
Joined: 28 Jan 2003, 12:37

Combined signal processing ...

Post by gschalk » 01 Jun 2006, 11:05


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

Posts: 1098
Joined: 12 Feb 2003, 11:06


Post by mellinger » 01 Jun 2006, 11:05


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

Replace this by

Code: Select all

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.



Who is online

Users browsing this forum: No registered users and 8 guests