Installation
Requirements
- Python 3.11+
- uv (recommended) or pip
Basic Install
With GPU Acceleration (Apple Silicon)
With Optimization
pip install "helicon[optimize]" # scikit-learn for GP surrogate
pip install "helicon[botorch]" # botorch for Bayesian optimization
Development Install
git clone https://github.com/lulzx/helicon
cd helicon
uv sync --all-extras
uv run pytest # verify install
WarpX (for PIC simulations)
WarpX must be installed separately. See the WarpX installation guide.
On macOS (Apple Silicon):
# WarpX runs CPU/OpenMP on macOS — no GPU PIC
conda install -c conda-forge warpx
# or build from source with OpenMP
On Linux (NVIDIA GPU):
Without WarpX, all Helicon features work except actually running PIC simulations
(dry_run=True generates input files without launching WarpX).
Docker
docker build -t helicon .
docker run --rm -v $(pwd)/results:/app/results helicon \
run --preset dfd --output results/dfd --dry-run