Timeflux
This document provides a simple guide for analyzing and visualizing Mentalab Explore ExG data using Timeflux in real-time.
Timeflux is an open-source framework for real-time acquisition and processing of biosignals. It’s ideal for brain-computer interfaces, biofeedback systems, and interactive installations.
Installation
conda create --name timeflux python=3.10 pytables bottleneck
conda activate timeflux
pip install timeflux timeflux-ui
Basic Setup
Create a simple Timeflux application to visualize Mentalab data:
# mentalab_timeflux.yaml
graphs:
- nodes:
- id: lsl
module: timeflux.nodes.lsl
class: Receive
params:
prop: type
value: ExG
timeout: 1.0
- id: ui
module: timeflux_ui.nodes.ui
class: UI
edges:
- source: lsl
target: ui:ExG
rate: 250
Usage
- Start LSL streaming from your Mentalab device using Explore Desktop or Mobile
- Run the Timeflux application:
timeflux mentalab_timeflux.yaml
- Open
localhost:8000
in your browser to view the data
Hypersync via LSL currently has limited compatibility with Timeflux. Please reach out to support@mentalab.com to enquire about a solution.
Resources
For more information or support, contact: support@mentalab.com