venthur / mushu

OFFICIAL REPOSITORY HAS MOVED TO: https://github.com/bbci/mushu
http://bbci.de/mushu
GNU General Public License v2.0
16 stars 31 forks source link

Replayamp.py #10

Open ghost opened 8 years ago

ghost commented 8 years ago

I'm working through Section "3.5.2 Online Classification" of the pdf "Design and Implementation of a Brain-Computer Interface System".

I installed libmushu from terminal with pip install libmushu.

When attempting to use the ReplayAmp with the acquired signal, I receive the following errors:

configure() got an unexpected keyword argument 'realtime' configure() got an unexpected keyword argument 'blocksize_samples'

I noticed that the .py file for the replayamp does not match the replayamp.py from github. Namely, it does not have methods for blocksize and realtime. Any advice on that? Should I replace the .py file in my anaconda/lib/python2.7/site-packages/libmushu folder with the one from github?

Thanks!!

cboulay commented 8 years ago

I don't use mushu, but for small projects it is likely that what pip finds is wildly out of date. e.g., mushu is over 2 years old.

Typically what I do is clone the repo locally then install from there.

git clone https://github.com/venthur/mushu.git
cd mush
python setup.py install --user

Edit to add the --user flag.

ghost commented 8 years ago

Thanks Chad, that's good advice. I just got myself a new SSD - so I'm in the process of cleaning up the mess I made with my previous HD. Quick question on your answer - when you install, do you navigate to the /site-packages directory, and then run the above terminal commands?

okbalefthanded commented 8 years ago

@Cookdj0128 if you're using Anaconda as a python interpreter, first make sure it's the default one , then navigate to the mushu folder and execute the install command, no need to navigate to the /site-packages.