OMGhozlan / CyKITv2

Python Data Controller for Neural EEG headsets. (Windows)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Updated Version (2018.Feb.06) 2:32pm

Chat Discussion: https://discordapp.com/invite/gTYNWc7
(Do not need discord app, just click for browser chat)

CyKit 2.0 for Python 2.7.6 (32-bit) (Windows)
Python Data Controller for Neural EEG headsets.

Description

Streams EEG data to a browser for data handling. Works with Chrome and Firefox.



Requirements

  • Windows
  • Python 2.7.6
  • 32-bit version of Python
pycrypto 2.6.1 (32-bit) and pywinusb 0.4.1 are now included into this repository.
(No installation necessary. Simply extract this repository to a folder and run.
see below for usage details.)

Usage


example 1.
python.exe CyKITv2.py 127.0.0.1 18675 2

example 2.
python.exe CyKITv2.py 127.0.0.1 15309 4 info

example 3.
python.exe CyKITv2.py 127.0.0.1 12991 6 info+confirm
  • Open a browser. (Firefox/Chrome)
  • Open Web Document in project: /Web/CyKITv2.html
  • Enter localhost and listen port used to run CyKITv2.py
  • Press "Connect"

Optional Flags


'confirm' flag enabled, lets you manually confirm what device to use.


'info' flag enabled. View additional product information about your usb devices.


'nocounter' flag enabled. The first 2 bytes (and delimiters) are not included
in the output data. May be useful for formatting data for other applications.

Features

  • Uses Python threading.
  • Able to connect locally to localhost. (no need for http servers)
  • Scrolling
  • Able to make use of EEG data via javascript.
  • EEG graphing.
  • Masking (Advanced feature lets you manipulate data functions in real-time)
  • Streams to any program via TCP stream.
  • EEG logging. Can display in Emotiv programs.

Note: Does not currently stream to openvibe.

Bluetooth Support


Currently CyKIT does not have bluetooth support integrated into it. However we can direct you to the resources that incorporate bluetooth for Emotiv. Because Emotiv devices uses Bluetooth LE, which is not natively supported in Windows 7 or below. It can only be run on Windows 8 or 10, which supports BTLE. Special Thanks to CaptainSmiley for creating this Bluetooth port:

Bluetooth Development
Bluetooth Application

OpenViBE Support

OpenViBE Setup

Beta

Gyro Data --- Coming Soon.

Note: Switching to Gyro-mode may cause EEG to stop displaying.
Refresh the browser if this occurs.

  • Feel free to offer comments and suggests via Issues, for further
    information check our Discord server. Submit new push requests,
    if you have something to contribute.

About

Python Data Controller for Neural EEG headsets. (Windows)

License:Other


Languages

Language:Python 84.1%Language:JavaScript 7.8%Language:CSS 5.7%Language:HTML 2.3%