Hello every1 I am new to this forum, i have question i am working on web browser which will be controlled by brain signals .To test it i am using RJB_Randomnumber.prm which is generating a random number but we want to control this random number , so can any one tell me is there a parameter file which i can use , whcih will generate random number but which we wil be able to control by muse , like if we move mouse up the number should increase and if we move down the mouse the number should decrease.
Also, if there is any such file then do i need to change any thing in the RJB cODE or just need to include the parm file.
Thanks
Amit
Need a parameter file which can be controlled by mouse!!!
-
amityadav
- Posts: 4
- Joined: 04 Mar 2004, 13:44
-
gschalk
- Posts: 615
- Joined: 28 Jan 2003, 12:37
Parameter file ...
Hi,
The BCI2000 installation (bci2000setup.exe) comes with such a parameter file for the RJB task. Just install it in a separate directory and look at the parms directory.
Gerv
The BCI2000 installation (bci2000setup.exe) comes with such a parameter file for the RJB task. Just install it in a separate directory and look at the parms directory.
Gerv
-
gschalk
- Posts: 615
- Joined: 28 Jan 2003, 12:37
Parameter file ...
Hi,
It's RJB_RandomNumber.prm.
Gerv
It's RJB_RandomNumber.prm.
Gerv
-
amityadav
- Posts: 4
- Joined: 04 Mar 2004, 13:44
Hi gerv
i appreciate ur help and prompt reply but in my current application i am already using this parameter file but is not able to control the random numbers by mouse. Do i need to change any settings or do i need to make an changes in the RJB code.
Just to give u an idea, whats happening is that we have a web browser which have control panel and we have one dimensional navigation . Now in order to traverse thru the various buttons in the control panel, we are using this RJB random number file and using this number to build our logic of using on this random number to either move thru the buttons of control panel or fire the event of any button. bUT SINCE WE DONT HAVE ANY Control over this random numbers we are not able to do our proper testing , that's why we want a file whose number generation can be controlled by mouse.
I hope this must have given u some idea of what we are into
i would really appreciate ur help if u can tell what can be the possible solution.
Thanks
Amit
i appreciate ur help and prompt reply but in my current application i am already using this parameter file but is not able to control the random numbers by mouse. Do i need to change any settings or do i need to make an changes in the RJB code.
Just to give u an idea, whats happening is that we have a web browser which have control panel and we have one dimensional navigation . Now in order to traverse thru the various buttons in the control panel, we are using this RJB random number file and using this number to build our logic of using on this random number to either move thru the buttons of control panel or fire the event of any button. bUT SINCE WE DONT HAVE ANY Control over this random numbers we are not able to do our proper testing , that's why we want a file whose number generation can be controlled by mouse.
I hope this must have given u some idea of what we are into
i would really appreciate ur help if u can tell what can be the possible solution.
Thanks
Amit
-
gschalk
- Posts: 615
- Joined: 28 Jan 2003, 12:37
Parameter file ...
Hi,
This is very strange. It works for me. We must have different versions of the file. Just to make sure, here is what I use:
Filtering int AlignChannels= 0 0 0 1 // align channels in time (0=no, 1=yes) (does NOT work yet)
System string ApplicationIP= 127.0.0.1 127.0.0.1 127.0.0.1 127.0.0. // this module's listening IP
System string ApplicationPort= 1111 4200 1024 32768 // this module's listening port
Storage int AutoIncrementRunNo= 1 1 0 1 // 0: no auto increment 1: auto increment at Initialize)
Statistics matrix BaselineCfg= 2 2 TargetCode 1 TargetCode 2 0 0 1 // states to watch for baseline
Statistics matrix BaselineHits= 2 2 1 0.50 2 0.50 0 0 0 // proportion correct for each target
UsrTask int BaselineInterval= 1 0 0 1 // Intercept Computation 1 = targets 2 = ITI
Filtering int ClassMode= 1 0 1 2 // Classifier mode 1= simple 2= interaction
UsrTask int CursorSize= 25 0 0 1 // User Window Cursor Size
Source int DCoffset= 0 0 -32767 32767 // DC offset (common to all channels)
MEMFilter float deltaMem= 0.2 0.2 0.02 2.00 // Resolution (line density)
Statistics float DesiredPixelsPerSec= 250.00 70 0 400 //
System string EEGsourceIP= 127.0.0.1 127.0.0.1 127.0.0.1 127.0.0.1 // this module's listening IP
System string EEGsourcePort= 1113 4200 1024 32768 // this module's listening port
Storage string FileInitials= ..\data TD a z // Initials of file name (max. 8 characters)
Statistics int InterceptControl= 1 0 0 1 // Online adaption of Intercept 1 = Up/Dn 2 = Up/Dn + Le/Ri
Statistics int InterceptLength= 3 0 0 1 // Length of time for running average
Statistics float InterceptProportion= 0.9995 0.0 0.0 2.0 //
UsrTask int ItiDuration= 10 0 0 1 // Duration of Intertrial Interval
Statistics float LinTrendLrnRt= -0.001 0 -0.010 0.010 // Rate of Learning for Linear Trend Control
Filtering float LR_A= -25 0.0 -100.0 100.0 // Normal Filter Left/Right Intercept
Filtering float LR_B= 50 10.0 0.0 100.0 // Normal Filter Left/Right Slope
Filtering int MaxChannels= 256 10 1 256 // maximum number of channels in signals B,C
Filtering int MaxElements= 256 10 1 256 // maximum number of elements in signals B,C
MEMFilter float MemBandWidth= 3.0 3.0 0.5 32.0 // Spectral Bandwidth in Hz
MEMFilter int MemDetrend= 0 0 0 2 // Detrend data? 0=no 1=mean 2= linear
MEMFilter int MemModelOrder= 10 10 2 32 // AR model order
MEMFilter int MemWindows= 4 2 1 8 // AR- number of input blocks
Filtering matrix MLR= 1 3 1 1 0 64 0 100 // Class Filter Left / Right Weights
Source int ModulateAmplitude= 1 0 0 1 // modulate the amplitude with the mouse (0=no, 1=yes)
Filtering matrix MUD= 5 3 1 2 1 1 4 1 1 6 1 1 8 1 1 10 1 64 0 100 // Class Filter Up / Down Weights
Source int NoiseMaxAmplitude= 3000 3000 -32767 32767 // the maximum output value for noise
Source int NoiseMinAmplitude= -3000 0 -32767 32767 // the minimal output value for noise
UsrTask int NumberTargets= 2 0 0 1 // Number of Targets
Filtering int NumControlSignals= 2 1 1 128 // the number of transmitted control signals
UsrTask int PreTrialPause= 10 0 0 1 // Duration of Target w/o cursor
Statistics float QuadTrendLrnRt= 0.001 0 0 0.010 // Rate of Learning for Linear Trend Control
UsrTask int RestingPeriod= 0 0 0 1 // 1 defines a rest periuod of data acquisition
UsrTask int RewardDuration= 10 0 0 1 // Duration of PostTrial Feedback
Source int SampleBlockSize= 12 5 1 128 // the number of samples transmitted at a time
Source int SamplingRate= 256 128 1 4000 // the sample rate
Storage int SavePrmFile= 0 1 0 1 // 0/1: don't save/save additional parameter file
System string SignalProcessingIP= 127.0.0.1 127.0.0.1 127.0.0.1 127.0.0.1 // this module's listening IP
System string SignalProcessingPort= 1109 4200 1024 32768 // this module's listening port
Source int SineChannel= 0 0 0 128 // channel number of sinewave (0=all)
Source float SineFrequency= 10 10 0 100 // frequency of the sine wave
Source int SineMaxAmplitude= 10000 20000 -32767 32767 // the maximum output value for sine
Source int SineMinAmplitude= -10000 0 -32767 32767 // the minimal output value for sine
Source int SoftwareCh= 16 16 1 128 // the number of digitized and stored channels
Filtering floatlist SourceChGain= 16 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.033 -500 500 // gain for each channel (A/D units -> muV)
Filtering floatlist SourceChOffset= 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -500 500 // offset for channels in A/D units
Visualize int SourceMax= 8092 8092 0 16386 // raw EEG vsi Max Value
Visualize int SourceMin= 0 0 -8092 0 // raw EEG vis Min Value
Filtering int SpatialFilteredChannels= 4 4 1 64 // Number of Spatially Filtered Channels
Filtering matrix SpatialFilterKernal= 4 4 .3 0 0 0 0 .3 0 0 0 0 .3 0 0 0 0 .3 0 64 -100 // Spatial Filter Kernal Weights
MEMFilter float StartMem= 0.0 0.0 0.0 512.0 // Start of Spectrum in Hz
System int StateVectorLength= 11 16 1 30 // length of the state vector in bytes
MEMFilter float StopMem= 60.0 30.0 0.0 512.0 // End of Spectrum in Hz
Storage string StorageTime= 16:15 Time a z // time of beginning of data storage
Storage string SubjectName= test Name a z // subject alias (max. 8 characters)
Storage string SubjectRun= 01 00 0 99 // digit run number (max. 3 characters)
Storage string SubjectSession= 001 001 0 999 // session number (max. 3 characters)
UsrTask float TargetWidth= 25 0 0 1 // Width of Targets
UsrTask int TimeLimit= 180 180 0 1000 // Time Limit for Runs in seconds
Source int TransmitCh= 4 4 1 128 // the number of transmitted channels
Source intlist TransmitChList= 4 1 2 3 4 1 1 128 // list of transmitted channels (# of channels MUST equal TransmitCh)
Statistics int TrendControl= 1 0 0 1 // Online adaption of % Correct Trend 1= Lin 2 = Quad
Statistics int TrendWinLth= 20 0 0 100 // Length of % Correct Window
Filtering float UD_A= 15.52 10.0 -100.0 100.0 //
Filtering float UD_B= 43.72 10.0 -100.0 100.0 //
Visualize int VisualizeCalibration= 0 0 0 1 // visualize calibrated channels (0=no, 1=yes)
Visualize int VisualizeClassFiltering= 0 0 0 1 // visualize Class filtered signals (0=no 1=yes)
Visualize int VisualizeNormalFiltering= 0 0 0 1 // visualize Normal filtered signals (0=no 1=yes)
Visualize int VisualizeRoundtrip= 1 1 0 1 // visualize roundtrip time (0=no, 1=yes)
Visualize int VisualizeSource= 1 1 0 1 // visualize raw EEG (0=no, 1=yes)
Visualize int VisualizeSourceDecimation= 1 1 0 1 // decimation factor for raw brain signal
Visualize int VisualizeSourceTime= 2 2 0 5 // how much time in Source visualization
Visualize int VisualizeSpatialFiltering= 0 0 0 1 // visualize spatial filtered signals (0=no 1=yes)
Visualize int VisualizeStatFiltering= 0 0 0 1 // visualize Stat filtered signals (0=no 1=yes)
Visualize int VisualizeTemporalFiltering= 1 0 0 1 // visualize Temporal filtered signals (0=no 1=yes)
Statistics int WeightControl= 0 0 0 1 // Classifier Adaptation 0= no 1= Compute 2= use
UsrTask int WinHeight= 512 0 0 1 // User Window Height
UsrTask int WinWidth= 512 0 0 1 // User Window Width
UsrTask int WinXpos= 400 0 0 1 // User Window X location
UsrTask int WinYpos= 5 0 0 1 // User Window Y location
Statistics float WtLrnRt= 0.001 0 0.000 0.010 // Rate of Learning for Classifier
This is very strange. It works for me. We must have different versions of the file. Just to make sure, here is what I use:
Filtering int AlignChannels= 0 0 0 1 // align channels in time (0=no, 1=yes) (does NOT work yet)
System string ApplicationIP= 127.0.0.1 127.0.0.1 127.0.0.1 127.0.0. // this module's listening IP
System string ApplicationPort= 1111 4200 1024 32768 // this module's listening port
Storage int AutoIncrementRunNo= 1 1 0 1 // 0: no auto increment 1: auto increment at Initialize)
Statistics matrix BaselineCfg= 2 2 TargetCode 1 TargetCode 2 0 0 1 // states to watch for baseline
Statistics matrix BaselineHits= 2 2 1 0.50 2 0.50 0 0 0 // proportion correct for each target
UsrTask int BaselineInterval= 1 0 0 1 // Intercept Computation 1 = targets 2 = ITI
Filtering int ClassMode= 1 0 1 2 // Classifier mode 1= simple 2= interaction
UsrTask int CursorSize= 25 0 0 1 // User Window Cursor Size
Source int DCoffset= 0 0 -32767 32767 // DC offset (common to all channels)
MEMFilter float deltaMem= 0.2 0.2 0.02 2.00 // Resolution (line density)
Statistics float DesiredPixelsPerSec= 250.00 70 0 400 //
System string EEGsourceIP= 127.0.0.1 127.0.0.1 127.0.0.1 127.0.0.1 // this module's listening IP
System string EEGsourcePort= 1113 4200 1024 32768 // this module's listening port
Storage string FileInitials= ..\data TD a z // Initials of file name (max. 8 characters)
Statistics int InterceptControl= 1 0 0 1 // Online adaption of Intercept 1 = Up/Dn 2 = Up/Dn + Le/Ri
Statistics int InterceptLength= 3 0 0 1 // Length of time for running average
Statistics float InterceptProportion= 0.9995 0.0 0.0 2.0 //
UsrTask int ItiDuration= 10 0 0 1 // Duration of Intertrial Interval
Statistics float LinTrendLrnRt= -0.001 0 -0.010 0.010 // Rate of Learning for Linear Trend Control
Filtering float LR_A= -25 0.0 -100.0 100.0 // Normal Filter Left/Right Intercept
Filtering float LR_B= 50 10.0 0.0 100.0 // Normal Filter Left/Right Slope
Filtering int MaxChannels= 256 10 1 256 // maximum number of channels in signals B,C
Filtering int MaxElements= 256 10 1 256 // maximum number of elements in signals B,C
MEMFilter float MemBandWidth= 3.0 3.0 0.5 32.0 // Spectral Bandwidth in Hz
MEMFilter int MemDetrend= 0 0 0 2 // Detrend data? 0=no 1=mean 2= linear
MEMFilter int MemModelOrder= 10 10 2 32 // AR model order
MEMFilter int MemWindows= 4 2 1 8 // AR- number of input blocks
Filtering matrix MLR= 1 3 1 1 0 64 0 100 // Class Filter Left / Right Weights
Source int ModulateAmplitude= 1 0 0 1 // modulate the amplitude with the mouse (0=no, 1=yes)
Filtering matrix MUD= 5 3 1 2 1 1 4 1 1 6 1 1 8 1 1 10 1 64 0 100 // Class Filter Up / Down Weights
Source int NoiseMaxAmplitude= 3000 3000 -32767 32767 // the maximum output value for noise
Source int NoiseMinAmplitude= -3000 0 -32767 32767 // the minimal output value for noise
UsrTask int NumberTargets= 2 0 0 1 // Number of Targets
Filtering int NumControlSignals= 2 1 1 128 // the number of transmitted control signals
UsrTask int PreTrialPause= 10 0 0 1 // Duration of Target w/o cursor
Statistics float QuadTrendLrnRt= 0.001 0 0 0.010 // Rate of Learning for Linear Trend Control
UsrTask int RestingPeriod= 0 0 0 1 // 1 defines a rest periuod of data acquisition
UsrTask int RewardDuration= 10 0 0 1 // Duration of PostTrial Feedback
Source int SampleBlockSize= 12 5 1 128 // the number of samples transmitted at a time
Source int SamplingRate= 256 128 1 4000 // the sample rate
Storage int SavePrmFile= 0 1 0 1 // 0/1: don't save/save additional parameter file
System string SignalProcessingIP= 127.0.0.1 127.0.0.1 127.0.0.1 127.0.0.1 // this module's listening IP
System string SignalProcessingPort= 1109 4200 1024 32768 // this module's listening port
Source int SineChannel= 0 0 0 128 // channel number of sinewave (0=all)
Source float SineFrequency= 10 10 0 100 // frequency of the sine wave
Source int SineMaxAmplitude= 10000 20000 -32767 32767 // the maximum output value for sine
Source int SineMinAmplitude= -10000 0 -32767 32767 // the minimal output value for sine
Source int SoftwareCh= 16 16 1 128 // the number of digitized and stored channels
Filtering floatlist SourceChGain= 16 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.0033 0.033 -500 500 // gain for each channel (A/D units -> muV)
Filtering floatlist SourceChOffset= 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -500 500 // offset for channels in A/D units
Visualize int SourceMax= 8092 8092 0 16386 // raw EEG vsi Max Value
Visualize int SourceMin= 0 0 -8092 0 // raw EEG vis Min Value
Filtering int SpatialFilteredChannels= 4 4 1 64 // Number of Spatially Filtered Channels
Filtering matrix SpatialFilterKernal= 4 4 .3 0 0 0 0 .3 0 0 0 0 .3 0 0 0 0 .3 0 64 -100 // Spatial Filter Kernal Weights
MEMFilter float StartMem= 0.0 0.0 0.0 512.0 // Start of Spectrum in Hz
System int StateVectorLength= 11 16 1 30 // length of the state vector in bytes
MEMFilter float StopMem= 60.0 30.0 0.0 512.0 // End of Spectrum in Hz
Storage string StorageTime= 16:15 Time a z // time of beginning of data storage
Storage string SubjectName= test Name a z // subject alias (max. 8 characters)
Storage string SubjectRun= 01 00 0 99 // digit run number (max. 3 characters)
Storage string SubjectSession= 001 001 0 999 // session number (max. 3 characters)
UsrTask float TargetWidth= 25 0 0 1 // Width of Targets
UsrTask int TimeLimit= 180 180 0 1000 // Time Limit for Runs in seconds
Source int TransmitCh= 4 4 1 128 // the number of transmitted channels
Source intlist TransmitChList= 4 1 2 3 4 1 1 128 // list of transmitted channels (# of channels MUST equal TransmitCh)
Statistics int TrendControl= 1 0 0 1 // Online adaption of % Correct Trend 1= Lin 2 = Quad
Statistics int TrendWinLth= 20 0 0 100 // Length of % Correct Window
Filtering float UD_A= 15.52 10.0 -100.0 100.0 //
Filtering float UD_B= 43.72 10.0 -100.0 100.0 //
Visualize int VisualizeCalibration= 0 0 0 1 // visualize calibrated channels (0=no, 1=yes)
Visualize int VisualizeClassFiltering= 0 0 0 1 // visualize Class filtered signals (0=no 1=yes)
Visualize int VisualizeNormalFiltering= 0 0 0 1 // visualize Normal filtered signals (0=no 1=yes)
Visualize int VisualizeRoundtrip= 1 1 0 1 // visualize roundtrip time (0=no, 1=yes)
Visualize int VisualizeSource= 1 1 0 1 // visualize raw EEG (0=no, 1=yes)
Visualize int VisualizeSourceDecimation= 1 1 0 1 // decimation factor for raw brain signal
Visualize int VisualizeSourceTime= 2 2 0 5 // how much time in Source visualization
Visualize int VisualizeSpatialFiltering= 0 0 0 1 // visualize spatial filtered signals (0=no 1=yes)
Visualize int VisualizeStatFiltering= 0 0 0 1 // visualize Stat filtered signals (0=no 1=yes)
Visualize int VisualizeTemporalFiltering= 1 0 0 1 // visualize Temporal filtered signals (0=no 1=yes)
Statistics int WeightControl= 0 0 0 1 // Classifier Adaptation 0= no 1= Compute 2= use
UsrTask int WinHeight= 512 0 0 1 // User Window Height
UsrTask int WinWidth= 512 0 0 1 // User Window Width
UsrTask int WinXpos= 400 0 0 1 // User Window X location
UsrTask int WinYpos= 5 0 0 1 // User Window Y location
Statistics float WtLrnRt= 0.001 0 0.000 0.010 // Rate of Learning for Classifier
-
amityadav
- Posts: 4
- Joined: 04 Mar 2004, 13:44
Hi gerv,
for some reason this is not working for me, i tried ur version of file by copying and pasting that and then tried to us that parameter file but still not able to control the random numbers by mouse.
Can u tell what can be the reason , do i need to chenge anything in the code.
Thanks and really appreciate ur help
Amit
for some reason this is not working for me, i tried ur version of file by copying and pasting that and then tried to us that parameter file but still not able to control the random numbers by mouse.
Can u tell what can be the reason , do i need to chenge anything in the code.
Thanks and really appreciate ur help
Amit
-
gschalk
- Posts: 615
- Joined: 28 Jan 2003, 12:37
Mouse movement ...
Hi,
I don't really understand this. Why don't you try this: Load the parameter file, and then go to Source and set the parameter ModulateAmplitude to 1. If you do that and start the system, you should see sine waves on all channels that get larger or smaller if you move the mouse up and down.
Gerv
I don't really understand this. Why don't you try this: Load the parameter file, and then go to Source and set the parameter ModulateAmplitude to 1. If you do that and start the system, you should see sine waves on all channels that get larger or smaller if you move the mouse up and down.
Gerv
Who is online
Users browsing this forum: No registered users and 0 guests
