Search found 34 matches

by jhill
24 Aug 2020, 10:45
Forum: Known Issues
Topic: bci2000chain
Replies: 8
Views: 7845

Re: bci2000chain

Good to know it's working. We'll investigate the issue with `ExpressionFilter`. If `ResultCode` and `CursorPos` are generated by a Filter in the Application module, then I think there will not be a corresponding command-line tool, so they would not be available from `bci2000chain`. As far as I know,...
by jhill
18 Aug 2020, 17:17
Forum: Known Issues
Topic: bci2000chain
Replies: 8
Views: 7845

Re: bci2000chain

Thank you for uploading the file. We have a number of bugs to fix in the command-line binaries so it's been a little hard to replicate your problem exactly. Maybe your problem is a manifestation of one of these bugs - we'll have a more definitive answer within the next few weeks. Immediately there's...
by jhill
12 Aug 2020, 16:49
Forum: Known Issues
Topic: bci2000chain
Replies: 8
Views: 7845

Re: bci2000chain

Hi Emma, Could you post a filebin.net link (or public Google Drive or Dropbox link, or similar) to the .dat file you're using, so that we can try to replicate this? Any or all of the syntax variants you're using should work (yes, you can use Matlab vectors) but I don't know why you would be getting ...
by jhill
08 May 2018, 15:15
Forum: Software Development
Topic: LSL Support?
Replies: 1
Views: 5484

LSL Support?

Hello world. Today I was (briefly) very happy to have stumbled across this: https://www.bci2000.org/mediawiki/index.php/Contributions:LSLSource because I would like to use LSL with BCI2000. However, if I look at the svn HEAD: http://bci2000.org/svn/trunk/src/contrib/SignalSource/ I also don't see it...
by jhill
28 Aug 2015, 17:20
Forum: Software Development
Topic: Some questions about BCPy2000
Replies: 7
Views: 8817

Re: Some questions about BCPy2000

Sincerely,I don't know what do you mean when you say: "only move the application module to BCPy2000 when that works". Are you talking about the parameters or state variables? I just mean, start with a P300 speller system that you know actually runs, using the existing BCI2000 modules. The...
by jhill
14 Jul 2015, 10:33
Forum: Software Development
Topic: Some questions about BCPy2000
Replies: 7
Views: 8817

Re: Some questions about BCPy2000

`StimulusCodeRes` state values are output by the `P3SignalProcessing` module, specifically the `P3TemporalFilter` component of that module. Therefore, to get a non-zero value in `StimulusCodeRes`, everything will have to be configured the way that filter likes to have things—for guidance see http://...
by jhill
13 May 2015, 10:30
Forum: Known Issues
Topic: BCPy2000 cannot work with Python2.7
Replies: 5
Views: 10476

Re: BCPy2000 cannot work with Python2.7

At the moment BCPy2000 still requires Python 2.5. I have tried to get the old approach (i.e. embed a Python session inside a C++ executable) working with 2.7 but embedded-Python seems to be extremely fragile and difficult-to-tame. The current version can even break if the version of the numpy packag...
by jhill
17 Sep 2012, 18:46
Forum: Software Development
Topic: BCPy2000 with Python 2.7.3
Replies: 5
Views: 8057

Re: BCPy2000 with Python 2.7.3

Thanks for your work on EmbeddedPythonConsole. Those two links of Chad's are particularly useful. I'm afraid I haven't been able to test your efforts yet (beyond confirming its backward-compatibility with Python 2.6 and IPython 0.10) since I have limited access to Win64 distributions and limited tim...
by jhill
17 Sep 2012, 13:17
Forum: Data Analysis
Topic: make_bciprm.m - Why do we preserve parameter meta info?
Replies: 1
Views: 3623

Re: make_bciprm.m - Why do we preserve parameter meta info?

The reason this exists is that, in general, BCI2000 operates on the principle that parameter meta-info (Section, Type, DefaultValue, LowRange, HighRange and Comment) are defined at the beginning (by the filter that registers the parameter) and subsequently unchanged by the loading of parameter files...
by jhill
17 Aug 2012, 19:23
Forum: Software Development
Topic: Locating the FilterSources in BCI2k/Transcoding struct 's'
Replies: 9
Views: 10271

Re: Locating the FilterSources in BCI2k/Transcoding struct '

For a start, don't worry about the difference between s.Time and s.FullTime . It does not indicate corruption: they are intentionally different sizes, and their different sizes reflect their different names. BCI2000 (and hence bci2000chain , which mimics it) fundamentally processes signals one "...
by jhill
05 Jun 2012, 03:09
Forum: BCI Systems - User Applications
Topic: EventOffset out of range in P300 Memory Game application
Replies: 5
Views: 6274

Re: EventOffset out of range in P300 Memory Game application

When following chad's recommendation above, ie to preload all images, I've never seen a huge spike like that caused purely by hiding one image and showing another—even when they're big images. But you can always test your hypothesis by substituting a smaller image. Generally it is easier to develop ...
by jhill
30 May 2012, 17:51
Forum: Data Analysis
Topic: Using OfflineAnalysis to select control feature(s)?
Replies: 4
Views: 5605

Re: Using OfflineAnalysis to select control feature(s)?

In the context where you have repeated trials, each of limited duration, and each with a known set of targets, the Normalizer's adaptive normalization seems to work very well. You can use a limited period (3s) from *each* trial but you'll need to make the buffer much larger so that it is averaging f...
by jhill
22 May 2012, 12:47
Forum: BCI Systems - User Applications
Topic: EventOffset out of range in P300 Memory Game application
Replies: 5
Views: 6274

Re: EventOffset out of range in P300 Memory Game application

The first thing to look at would be: http://bci2000.org/downloads/BCPy2000/Timing.html The most important point to understand is that you as a programmer, whether you're operating in C++, Python or Matlab, have the power to mess up BCI2000's timing performance to an arbitrary extent. The cascade of ...
by jhill
03 May 2012, 19:54
Forum: BCI Systems - User Applications
Topic: Parameter file from P300 Speller applied to new application
Replies: 4
Views: 8014

Re: Parameter file from P300 Speller applied to new applicat

When doing this kind of thing: def Transition(self, phasename): if phasename == 'flash': self.states['StimulusCode'] = 1 self.stimuli['Foo'].color = (1,1,1) boulay correctly points out the important point that changes to State variables (StimulusCode in this example) will not appear precisely time-l...
by jhill
24 Jan 2012, 22:13
Forum: BCI Systems - User Applications
Topic: Audio output from BCPy2000
Replies: 2
Views: 6509

Re: Audio output from BCPy2000

Are you on Vista and/or Windows 7? Check the system volume mixer before, during and after the run. Is the "VisionEgg" (or possibly "PythonApp") entry of the windows mixer muted during the run? If you unmute it by hand, is all suddenly well again? If so, what's happening is this. ...