Skip to content

Instantly share code, notes, and snippets.

View kesavsivakumar's full-sized avatar

kesav kumar kesavsivakumar

View GitHub Profile
@kesavsivakumar
kesavsivakumar / mindwave.py
Created February 4, 2021 16:53 — forked from MexsonFernandes/mindwave.py
Python code for data collection from Neurosky Mindwave Mobile headset device
import numpy as np
import pandas as pd
import sys
import json
import time
from telnetlib import Telnet
# Initializing the arrays required to store the data.
attention_values = np.array([])
meditation_values = np.array([])