amedeedaboville / fealines Goto Github PK
View Code? Open in Web Editor NEWA Qt application to record and visualize interaxon muse data
A Qt application to record and visualize interaxon muse data
For now a typo in a protocol file results in:
File "/Users/amedee/workspace/fealines/src/main.py", line 45, in
main()
File "/Users/amedee/workspace/fealines/src/main.py", line 40, in main
main.executeProtocol()
File "/Users/amedee/workspace/fealines/src/main.py", line 33, in executeProtocol
self.pcl = Protocol('./protocols/calibration.json')
File "/Users/amedee/workspace/fealines/src/Protocol/feaProtocol.py", line 12, in init
json_protocol = json.load(contents)
File "/anaconda/lib/python2.7/json/init.py", line 290, in load
**kw)
File "/anaconda/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/anaconda/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/anaconda/lib/python2.7/json/decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 5 column 5 (char 80)
We should catch an error an say something nicer
Calibration makes calls to system('say') which blocks everything to say the word. Need to do that in a thread
There is a setup.py file but it still requires users to get a few dependencies from other places.
Also I want to have a packaged app to send people done by this week
The muse app plays a sound near the end of each step so you know when to open your eyes. We should do that.
Step duration parsing was done in thirty seconds with:
string.split(":") -> an array assumed to have three parts
I need that to handle other sizes. It should be:
45 -> seconds
1:30 -> minutes: seconds
1:1:30: -> hours:minutes:seconds
Some steps just take however long they need to take, like the connection step which ends whenever the headband is sending good data.
Some steps might not want to show a timer for how long they take.
Most Qt dependent things are imported through a blanket
from pyqtgraph.Qt import QtGui
or similar.
We need Pyqt4 for a few things, so let's use it everywhere and change all the imports to more specific Pyqt4 ones.
The app needs to be restarted after a protocol is run because of some Qt/python/ memory deallocating nonsense.
Connection Steps, Calibration Steps should have default values for duration and stuff.
They may have their own properties. How do we let them have extra properties while still having their super class' (Step) property parsing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.