Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replayamp.py #10

Open
ghost opened this issue Jul 18, 2016 · 3 comments
Open

Replayamp.py #10

ghost opened this issue Jul 18, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 18, 2016

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
Copy link

cboulay commented Jul 18, 2016

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
Copy link
Author

ghost commented Jul 25, 2016

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
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants