Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

===========
mindcontrol
===========

mindcontrol provides an api that allows python programs to capture data that
is emitted by the NeuroSky MindWave headsets. It uses a socket to connect to
the ThinkGearConnector application that acts as a server for the headset data::

#!/usr/bin/env python

from mindcontrol.userbrain import Brain
from time import sleep

SLEEP_TIME = 5 # seconds
CONCENTRATE_TIME = 5 # seconds
my_brain = Brain()
while not my_brain.isConnected():
print 'Not connected to brain yet. Will try again in %d seconds' % SLEEP_TIME
sleep(SLEEP_TIME)
# brain is now connected, get some stuff
print 'Concentrate really hard for the next %d seconds!' % CONCENTRATE_TIME
# sample once each second
conc_vals = []
for idx in xrange(CONCENTRATE_TIME):
conc_vals.append(my_brain.getProperty('attention'))
sleep(1)
print 'Your recorded concentration values were:\n\t[%s]' % ', '.join([str(x) for x in conc_vals])




collaboration
=========

This project is GPL licensed so do whatever you want with the code. This module is currently being source controlled
on GitHub, so if you want to check out the project you can find it here: https://github.com/georgeBoole/mindcontrol.
This module is mostly experimental at the moment, but expect more development soon.

Metadata

Release files for mindcontrol 0.54dev

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mindcontrol 0.54dev
File Size Uploaded
mindcontrol-0.54dev.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mindcontrol 0.54dev
File Interpreter ABI Platform
mindcontrol-0.54dev.macosx-10.6-intel.exe Details

Total release size: 79.9 kB

Release files / mindcontrol-0.54dev.tar.gz

Download URL mindcontrol-0.54dev.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e666fdc4b102fd36d2245e8aed54bba629bf91256f7c046bfaf006c05f46849b
BLAKE2b-256 checksum
How to use checksums
839762c71fdd37c8bce6b3924b5787cb564b2f39a6a06df2bfb9957598656ddb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mindcontrol-0.54dev.macosx-10.6-intel.exe

Download URL mindcontrol-0.54dev.macosx-10.6-intel.exe
Size 72.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b1e772a01f5dd48219f9472f4c8e2f7f6aa8335228b1df88bba21f822f68538a
BLAKE2b-256 checksum
How to use checksums
f32f36ab3d3ad1dc9b66101517578893542ecfe02d3ed253b390efed7a87206b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page