Skip to main content

A realtime EEG viewer using novel ways to visualise EEG.

Project description

Samadhi EEG / LSL

Samadhi EEG is a project to build a Python/Qt/OpenGL based application for visualising EEG and spectrum data in novel ways. Hooking onto an LSL stream, the software monitors and displays EEG at realtime. The project has just started, implementation is not mature yet and the content is mainly experimental.

Data Sources: LSL and Simulation

Data is received from an LSL stream which can be selected from a dropdown box on the left. In addition there is a selftest which runs through single frequencies so you can check the behaviour of spetrum displays.

Display: Dancing Dots

A wavy, rotating, jelly-fish like flower made up of single dots. This is a spectrum display, visualising the current value of the EEG frequency bands Delta, Theta, Alpha, Beta and Gamma. Image: Main page with EEG/PSD Tab The data from the spectrum analysis is averaged over rings of different lengths, arranged in concentric circles. The hills and valleys of the sine waves add up or cancel out, depending on their frequency and the circumference of the circle, creating a flower-like pattern with different colours and rotations. This means the frequency of the spectrum band is represented in the symmetry of the dot display:

Delta Theta Alpha Beta Gamma
Image: Main page with EEG/PSD Tab Image: Main page with EEG/PSD Tab Image: Main page with EEG/PSD Tab Image: Main page with EEG/PSD Tab Image: Main page with EEG/PSD Tab

The actual display will be a superposition of these. The dancing dot flower display runs first inside the window, a mouse click brings it to full-screen (and back again). This display uses hardware acceleration (OpenGL).

Display: Standard EEG and Spectrum

Standard plots showing EEG and Spectrum. The data is shown as received via LSL, a spectrum view (averaged power spectrum in log view), a history of the last 10 minutes of spectrum, and the current spectrum as a bar plot. Image: Main page with EEG/PSD Tab The spectrum values are obtained from a Fourier Transform (power spectral density), divided by the spectrum band width to prevent wider bands having more influence, and then normalised so the sum of all bands is 1.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

samadhi-0.2.tar.gz (27.6 kB view details)

Uploaded Source

File details

Details for the file samadhi-0.2.tar.gz.

File metadata

  • Download URL: samadhi-0.2.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for samadhi-0.2.tar.gz
Algorithm Hash digest
SHA256 aaf3dcbefd3650d5db39394f05f7bb1e1b0c2f2aea687dede84f28c5abd14b0f
MD5 48a39e110c272adb819be3a27d0ae1a1
BLAKE2b-256 c251e258bff86a05aa9079a3709b92fee410728da0fbc31e3d27fb046cc32bc6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page