Skip to main content

Realtime Time-Frequency Visualization

Realtime Time Frequency Plotting of EEG data from Muse headset

https://github.com/dxganta/real-time-tf/assets/47485188/a0484f7d-1aea-43df-84ad-d772f191bb85

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/

Metadata

Release files for real-time-tf 0.1.2

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

Source distribution (sdist)

Source distribution for real-time-tf 0.1.2
File Size Uploaded
real-time-tf-0.1.2.tar.gz 6.0 kB Details

Release files / real-time-tf-0.1.2.tar.gz

Download URL real-time-tf-0.1.2.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e8b10a884533e3978def3625658e6309d98995756d1e4c0cf44b008e9fa57b8e
BLAKE2b-256 checksum
How to use checksums
a6abe4bdc210e54010bba0e25d95dc3d162279c1cf2e83d9f260dab09021d577
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.3

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1

1 release file

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