Monitoring LSL EEG data, frequency analysis, and different visual displays.
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.
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 |
|---|---|---|---|---|
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.
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
File details
Details for the file samadhi-0.1.tar.gz.
File metadata
- Download URL: samadhi-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e8a33f700cba9bb3974c1065d75e4fb289a6009ee57cca2021e299ab1da05dd
|
|
| MD5 |
bdbf1ae91d6cb84a2b56e8dac66b3c4a
|
|
| BLAKE2b-256 |
8ba86a6afc7d4b7a9617e4f03d404d1f6401b1a5506641906822036d663f515d
|