Code Monkey home page Code Monkey logo

real-time-tf's Introduction

Realtime Time-Frequency Visualization

Realtime Time Frequency Plotting of EEG data from Muse headset

time-frequency-analysis.mov

Requirements

Compatible with Python 3.x

Compatible with all muse headsets supported by muselsl library

Getting Started

First install muselsl, connect to your muse headset and start a muse stream using

muselsl stream

Then install the realtime_tf package using

pip install real-time-tf

Keep the muselsl stream running and in a separate terminal run

realtime_tf

to visualize the realtime time frequency plot of the streamed eeg data from your muse headset.

The time-frequency plot is shown of 1 second EEG data and the plot is updated every 0.2 seconds by default. But you can update these parameters if required using

realtime_tf --show_time_window NEW_VALUE --update_time_window NEW_VALUE

The muse headset generally has 4 EEG electrodes/channels ('TP9', 'AF7', 'AF8', 'TP10'). By default the time-frequency plot average across all 4 channels is shown. But you can output only the time-frequency plot for a specific channel using

realtime_tf --channel 0

This will output the tf plot for channel 0 which is 'TP9'.

References

https://www.udemy.com/course/solved-challenges-ants/

real-time-tf's People

Contributors

dxganta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.