bbci / wyrm

Python toolbox for Brain-Computer Interfacing (BCI)
MIT License
95 stars 37 forks source link

Online experiment error #1

Open ahibahi opened 8 years ago

ahibahi commented 8 years ago

Hi,

First of all thank you for developing a very useful library with a good documentation guide. I am using this library for a EEG classification and was really interested in trying the online code which is given. I am getting an error as shown in below image when I run the code. Could you please let me know what's the issue

Thank you wyrmerror

awakenting commented 8 years ago

hey,

I don't know if you already figured out the problem or are still interested but it might be helpful for other people to know what was up.

So apparently in the package version of libmushu that you installed, the configure() method doesn't expect a keyword argument "blocksize_samples". Could you try to install libmushu manually as it is explained here: https://github.com/bbci/mushu and see if it works then ? Because looking at the source code on the github page, the configure() method should take such an argument, at least in the case of an replayamp (https://github.com/bbci/mushu/blob/master/libmushu/driver/replayamp.py#L14).

venthur commented 8 years ago

The arguments for the configure method are entirely dependent on the amplifier (driver) that is used. In your case the blocksize_samples is not supported (see the definition of the confiugre method)