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

  1. Start LSL streaming from your Mentalab device using Explore Desktop or Mobile
  2. Run the Timeflux application:
timeflux mentalab_timeflux.yaml
  1. Open localhost:8000 in your browser to view the data

Resources

For more information or support, contact: support@mentalab.com

Copyright © 2025 Mentalab