EEGFrontier/Pendulum/run_reflex.ps1
TheusHen 52c98dcdfa Add EEG processing and visualization components
- Implemented mne_tools.py for converting sample records to MNE Raw format.
- Created models.py to define data structures for sample, event, and error packets.
- Developed pyqt_focus.py for a PyQt-based focus monitoring GUI with real-time EEG data visualization.
- Added 
eflex_bridge.py to manage the EEG engine instance.
- Introduced simulator.py to simulate EEG data packets for testing purposes.
- Established a web dashboard in pendulum_web.py for live EEG data display and diagnostics.
- Configured project dependencies in pyproject.toml and 
equirements.txt.
- Added batch and PowerShell scripts for running and stopping the Reflex application.
- Created 
xconfig.py for Reflex application configuration.
2026-02-28 17:56:04 -03:00

16 lines
409 B
PowerShell

$ErrorActionPreference = "Stop"
# Force Reflex to use npm instead of bun in this environment.
$env:REFLEX_USE_NPM = "1"
# Ensure a valid npm path appears before the broken System32 shim.
$nodeBin = "C:\Program Files\nodejs"
if (Test-Path $nodeBin) {
$env:PATH = "$nodeBin;$env:PATH"
}
Write-Host "Starting Reflex with npm..."
Write-Host "REFLEX_USE_NPM=$env:REFLEX_USE_NPM"
& .\.venv\Scripts\reflex run