Real-time 3D visualization of MNE source estimates using WebGPU.
- High-Performance Rendering: Utilizes WebGPU (via
wgpu-py) for smooth 3D visualization. - Dynamic Animation: Visualize source time courses compatible with MNE data formats.
- Interactive Controls: Orbit, pan, and zoom around the brain model.
- Atlas Visualization: Toggle between dynamic source activation and atlas region colors.
- Trace Overlay: Optional "butterfly plot" overlay for time traces.
-
Ensure you have Python installed.
-
Install the required dependencies:
pip install -r requirements.txt
Dependencies:
wgpurendercanvasglfwnumpypyrrtrimeshrequests
Run the main application script:
python main.py- Left Click + Drag: Orbit / Rotate
- Right Click + Drag: Pan
- Scroll: Zoom
t: Toggle between Dynamic Source Animation and Surface Atlas Mode.p: Toggle the Butterfly Plot Overlay.