Page 1 of 1

same StimuliCode for multiple image with StimulusPresntation

Posted: 19 Mar 2011, 14:01
by rm9
Hi,

I've set up my stimuli with StimulusPresentation application and it works great.
On some of my experiments, I'm showing categories of images.
For example, images of cars and images of faces.
I would like all images from the same category (cars or faces) to have the same StimuliCode because basically they are the same for me.
I would also like to display a few "targets" images (ToBeCopied) in the same run.

Is it possible with StimulusPresentation task or would I have to develop my own solution?

Thanks.

Re: same StimuliCode for multiple image with StimulusPresnta

Posted: 22 Mar 2011, 12:02
by mellinger
Hi,

if you need to have only two stimulus codes, then you will need to modify the source code of StimulusPresentation, or modify your data files after recording. You may load a data file into Matlab using the load_bcidat mex file, and write it back to disk using the save_bcidat mex file. In Matlab, you may replace individual values of the StimulusCode state with category information, and update the StimulusType state as approprate.
Information about both mex files is available at
http://www.bci2000.org/wiki/index.php/U ... _MEX_Files

HTH,
Juergen