enigma644 / mindmonitorpython Goto Github PK
View Code? Open in Web Editor NEWMind Monitor OSC Streaming Python Samples
License: GNU General Public License v3.0
Mind Monitor OSC Streaming Python Samples
License: GNU General Public License v3.0
Has the mellow and concentration algorithms been canceled? I tapped on the version number 10 times but reported that “algorithm unable”.
Muse has officially closed the entrance to SDK, is there any other way to use muse to detect concentration?
For example when gamma on left front sensor exceeds one on right over the last 30s
Reference for gamma training https://www.sciencedirect.com/science/article/abs/pii/S0167876009002682
Applied on a moving average of 30s, updated with average power calculated over 0.125s
set to the power level that would be surpassed 75% of the time during the preceding 30s window.
attempt to increase the rate of the tone occurrences. The maximum rate of the tones was set to one tone per second.
Bottom of the OSC Receiver.py, I added the following codes.
client = udp_client.SimpleUDPClient("0.0.0.0", 5009) client.send_message("/Marker/1", 1) # start recording client.send_message("/Marker/2", 2) # end recording
But it never records eeg on csv.
Please let me know how to send markers.
Thank you.
Hi,
I tried running theOSC Receiver Audio Feedback code but got the following error when it ran. Any ideas on how to resolve it?
2021-06-12 11:24:30.349 Python[29165:7243071] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0 AppKit 0x00007fff2f39a629 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 371
1 AppKit 0x00007fff2f382052 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416
2 AppKit 0x00007fff2f381ac3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3 _macosx.cpython-38-darwin.so 0x000000010b94d750 -[Window initWithContentRect:styleMask:backing:defer:withManager:] + 80
4 _macosx.cpython-38-darwin.so 0x000000010b950c5f FigureManager_init + 319
5 Python 0x0000000104833e9c wrap_init + 12
6 Python 0x00000001047e5769 wrapperdescr_call + 121
7 Python 0x00000001047dc955 _PyObject_MakeTpCall + 373
8 Python 0x00000001048aaeb5 call_function + 533
9 Python 0x00000001048a7c6d _PyEval_EvalFrameDefault + 25677
10 Python 0x00000001047dd2a0 function_code_fastcall + 128
11 Python 0x00000001047dc7a7 _PyObject_FastCallDict + 247
12 Python 0x00000001047dddaf _PyObject_Call_Prepend + 143
13 Python 0x0000000104833de1 slot_tp_init + 145
14 Python 0x000000010482f2b9 type_call + 297
15 Python 0x00000001047dc955 _PyObject_MakeTpCall + 373
16 Python 0x00000001048aaeb5 call_function + 533
17 Python 0x00000001048a7c6d _PyEval_EvalFrameDefault + 25677
18 Python 0x00000001047dd2a0 function_code_fastcall + 128
19 Python 0x00000001047df96a method_vectorcall + 170
20 Python 0x00000001048aae5c call_function + 444
21 Python 0x00000001048a7c6d _PyEval_EvalFrameDefault + 25677
22 Python 0x00000001048abca4 _PyEval_EvalCodeWithName + 2804
23 Python 0x00000001047dd43e _PyFunction_Vectorcall + 270
24 Python 0x00000001047dfa4c method_vectorcall + 396
25 Python 0x00000001047dcc7d PyVectorcall_Call + 109
26 Python 0x00000001048a8178 _PyEval_EvalFrameDefault + 26968
27 Python 0x00000001048abca4 _PyEval_EvalCodeWithName + 2804
28 Python 0x00000001047dd43e _PyFunction_Vectorcall + 270
29 Python 0x00000001048aae5c call_function + 444
30 Python 0x00000001048a7cfa _PyEval_EvalFrameDefault + 25818
31 Python 0x00000001047dd2a0 function_code_fastcall + 128
32 Python 0x00000001048aae5c call_function + 444
33 Python 0x00000001048a7c6d _PyEval_EvalFrameDefault + 25677
34 Python 0x00000001047dd2a0 function_code_fastcall + 128
35 Python 0x00000001047dcc7d PyVectorcall_Call + 109
36 Python 0x00000001048a8178 _PyEval_EvalFrameDefault + 26968
37 Python 0x00000001047dd2a0 function_code_fastcall + 128
38 Python 0x00000001048aae5c call_function + 444
39 Python 0x00000001048a7c49 _PyEval_EvalFrameDefault + 25641
40 Python 0x00000001047dd2a0 function_code_fastcall + 128
41 Python 0x00000001048aae5c call_function + 444
42 Python 0x00000001048a7c49 _PyEval_EvalFrameDefault + 25641
43 Python 0x00000001047dd2a0 function_code_fastcall + 128
44 Python 0x00000001047df9ab method_vectorcall + 235
45 Python 0x00000001047dcc7d PyVectorcall_Call + 109
46 Python 0x000000010494a1da t_bootstrap + 74
47 Python 0x00000001048fdaa9 pythread_wrapper + 25
48 libsystem_pthread.dylib 0x00007fff6c39e109 _pthread_start + 148
49 libsystem_pthread.dylib 0x00007fff6c399b8b thread_start + 15
)
Listening on UDP port 5000
2021-06-12 11:24:30.443 Python[29165:7243071] WARNING: nextEventMatchingMask should only be called from the Main Thread! This will throw an exception in the future.
2021-06-12 11:24:30.443 Python[29165:7243071] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1677.205/Foundation/Misc.subproj/NSUndoManager.m:363
2021-06-12 11:24:30.445 Python[29165:7243071] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1677.205/Foundation/Misc.subproj/NSUndoManager.m:363
2021-06-12 11:24:30.447 Python[29165:7243071] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+[NSUndoManager(NSInternal) _endTopLevelGroupings] is only safe to invoke on the main thread.'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff32177657 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff6aff15bf objc_exception_throw + 48
2 CoreFoundation 0x00007fff321a07f8 +[NSException raise:format:arguments:] + 88
3 Foundation 0x00007fff34892e7d -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
4 Foundation 0x00007fff347cf5ce +[NSUndoManager(NSPrivate) _endTopLevelGroupings] + 440
5 AppKit 0x00007fff2f35c65c -[NSApplication run] + 864
6 _macosx.cpython-38-darwin.so 0x000000010b9520d2 show + 210
7 Python 0x0000000104819356 cfunction_vectorcall_NOARGS + 214
8 Python 0x00000001048aae5c call_function + 444
9 Python 0x00000001048a7c6d _PyEval_EvalFrameDefault + 25677
10 Python 0x00000001047dd2a0 function_code_fastcall + 128
11 Python 0x00000001048aae5c call_function + 444
12 Python 0x00000001048a7c6d _PyEval_EvalFrameDefault + 25677
13 Python 0x00000001048abca4 _PyEval_EvalCodeWithName + 2804
14 Python 0x00000001047dd43e _PyFunction_Vectorcall + 270
15 Python 0x00000001047dcc7d PyVectorcall_Call + 109
16 Python 0x00000001048a8178 _PyEval_EvalFrameDefault + 26968
17 Python 0x00000001048abca4 _PyEval_EvalCodeWithName + 2804
18 Python 0x00000001047dd43e _PyFunction_Vectorcall + 270
19 Python 0x00000001047df9ab method_vectorcall + 235
20 Python 0x00000001047dcc7d PyVectorcall_Call + 109
21 Python 0x00000001048a8178 _PyEval_EvalFrameDefault + 26968
22 Python 0x00000001048abca4 _PyEval_EvalCodeWithName + 2804
23 Python 0x00000001047dd43e _PyFunction_Vectorcall + 270
24 Python 0x00000001048aae5c call_function + 444
25 Python 0x00000001048a7c6d _PyEval_EvalFrameDefault + 25677
26 Python 0x00000001047dd2a0 function_code_fastcall + 128
27 Python 0x00000001047dcc7d PyVectorcall_Call + 109
28 Python 0x00000001048a8178 _PyEval_EvalFrameDefault + 26968
29 Python 0x00000001047dd2a0 function_code_fastcall + 128
30 Python 0x00000001048aae5c call_function + 444
31 Python 0x00000001048a7c49 _PyEval_EvalFrameDefault + 25641
32 Python 0x00000001047dd2a0 function_code_fastcall + 128
33 Python 0x00000001048aae5c call_function + 444
34 Python 0x00000001048a7c49 _PyEval_EvalFrameDefault + 25641
35 Python 0x00000001047dd2a0 function_code_fastcall + 128
36 Python 0x00000001047df9ab method_vectorcall + 235
37 Python 0x00000001047dcc7d PyVectorcall_Call + 109
38 Python 0x000000010494a1da t_bootstrap + 74
39 Python 0x00000001048fdaa9 pythread_wrapper + 25
40 libsystem_pthread.dylib 0x00007fff6c39e109 _pthread_start + 148
41 libsystem_pthread.dylib 0x00007fff6c399b8b thread_start + 15
)
libc++abi.dylib: terminating with uncaught exception of type NSException
zsh: abort /usr/local/bin/python
Hi James.
I can't get the OSC Streaming Data when I try the code
it was printed 'Listening on UDP port 5000', but the RAW EEG data didn't show up.
any suggestion for me?
Thankyou before
I'm getting raw EEG five values from muse 1 (2016) as
865.092 855.421 855.421 854.212 1006.92
765.165 850.989 847.766 812.711 662.418
821.575 853.407 853.81 844.139 646.3
922.308 869.121 856.63 880 985.971
900.549 874.762 867.912 890.476 1070.99
789.744 869.524 869.524 841.722 734.542
811.905 879.194 873.956 838.095 597.949
In the example code it appears that the starting value is in the form of a timeStamp, but here it does not look like it.
Am I missing something?
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.