Page 9 of 9

Re: running g.USBamp with BCI2000 using Windows 11

Posted: 06 Jun 2024, 08:26
by whwilbur
mellinger wrote: 06 Jun 2024, 08:09
When saving it. It's still saving the source signals. How do you save the spatial filter outputs?
You can't. When analyzing recorded signals, just subtract the channels in Matlab to achieve the same result. Or, to make it more elegant, multiply with the SpatilaFilter matrix in Matlab.
The Spatial filter output only shows up during recording and not when pressing "Set Config". Why?
Because online processing is only applied during a run.
And how do you enable 16 channels?
https://www.bci2000.org/mediawiki/index ... C#SourceCh
Say. is there only one method or algorithm to subtract channels? I mean. Could the algorithm in the DSP to subtract channels the same as in the Spatial Filter and in Mathlab or do the methods differ? I wonder if the DSP programming is similar to the Spatial filter or Mathlab, or simpler.

Whatever. If it will affect the CPU speed when processing 8 bipolar channels in Spatial Filter and I need to have the built-DSP enabled. And let's say I know someone who knows C++. How would he know what commands in the g.USBamp API to use to enable the different DSP bipolar channels? Is this a public domain knowledge. If yes. Where is the reference where the API is detailed? Or does the programmer need to have special arrangement from gtec to acquire the codes to program them?

Re: running g.USBamp with BCI2000 using Windows 11

Posted: 06 Jun 2024, 08:42
by mellinger
Say. is there only one method or algorithm to subtract channels?
https://en.wikipedia.org/wiki/Subtraction
Or does the programmer need to have special arrangement from gtec to acquire the codes to program them?
You either need to obtain the gUSBamp C API from gtec, or you can look it up in old versions of the gUSBampADC.cpp file in the BCI2000 source code, using TortoiseSVN to check out an old version.