Skip to main content

A lightweight tool for viewing EEGLAB .set files using MNE-QT Browser

Project description

🧠 AutoCleanEEG-View

AutoCleanEEG-View is a simple yet powerful tool for neuroscientists, researchers, and EEG enthusiasts to visualize EEG files such as EEGLAB .set, .edf, .bdf, BrainVision .vhdr, EGI .mff/.raw, MNE .fif, and NeuroNexus (.nnx, .nex, via Neo) using the modern MNE-QT Browser.

✨ Features

  • Simple Interface: Just one command to view your EEG data
  • Interactive Visualization: Pan, zoom, filter, and explore your EEG signals
  • Automatic Channel Type Detection: Properly handles EEG, EOG, ECG channels
  • Event Markers: View annotations and event markers in your recordings
  • Cross-Platform: Works on macOS and Linux
  • Extensible Loaders: Each format lives in its own plugin module for easy maintenance

🚀 Quick Start

Installation (uv preferred)

# Using Astral's uv (recommended)
uv pip install autocleaneeg-view

# Or with pip
pip install autocleaneeg-view

Basic Usage

# Canonical command (default opens the viewer)
autocleaneeg-view path/to/yourfile.set

# Explicitly open the viewer (also supported for clarity)
autocleaneeg-view path/to/yourfile.vhdr --view

# Load without viewing (just validate the file)
autocleaneeg-view path/to/yourfile.fif --no-view

Note: autoclean-view remains available as a legacy alias of autocleaneeg-view for backward compatibility.

NeuroNexus support (.xdat, .nnx, .nex) is included by default and uses Neo’s NeuroNexusIO under the hood.

🧪 Test With Simulated Data

Don't have EEG data handy? Generate realistic test data to try it out:

# Generate a 10-second recording with 32 channels
python scripts/generate_test_data.py --output data/simulated_eeg.set

# Quick test all in one step
./scripts/test_with_simulated_data.sh

Simulation Options

Customize your simulated data:

python scripts/generate_test_data.py --help
  • --duration 60: Create a 60-second recording
  • --sfreq 512: Set sampling rate to 512 Hz
  • --channels 64: Generate 64 channel EEG
  • --no-events: Disable simulated event markers
  • --no-artifacts: Generate clean data without eye blinks/artifacts

📋 Requirements

  • Python 3.9 or higher
  • MNE-Python 1.7+
  • MNE-QT-Browser 0.5.2+
  • PyQt5 (macOS) or compatible Qt backend

For detailed installation instructions, see INSTALL.md.

📝 License

MIT License

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

autocleaneeg_view-0.1.5.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autocleaneeg_view-0.1.5-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file autocleaneeg_view-0.1.5.tar.gz.

File metadata

  • Download URL: autocleaneeg_view-0.1.5.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.4

File hashes

Hashes for autocleaneeg_view-0.1.5.tar.gz
Algorithm Hash digest
SHA256 367faa8544b2f27cc0de6119960146d09f745eb72fca812d91eaed941796e9b2
MD5 4913eee974150ae51abcb8241a892e1f
BLAKE2b-256 9bb133b5ab472179bde737574f5b2440a475ba7ef5f5a3d42bbf4a90de9171d1

See more details on using hashes here.

File details

Details for the file autocleaneeg_view-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for autocleaneeg_view-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4c4c4032cdd191621633039a7104f77f671a11abeb8a8a5a9816e4c33a3daec7
MD5 31810aecdc6333a35e50f9e8d1020fcd
BLAKE2b-256 206d455901b3b9db56dc689b0d842f13484c38216522081f6e932ee86c0755f6

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