Skip to content

AllenNeuralDynamics/voxel

Repository files navigation

Voxel Logo
Voxel

Light sheet microscopy platform built on rigup.

Warning

Under active development. APIs, configuration schemas, and documentation are evolving.

Getting Started

Requires uv and bun (for the web frontend).

uv sync --all-packages --all-extras

Web UI (FastAPI + SvelteKit)

cd web/ui && bun install && bun run build && cd ../..
uv run vxl

Open http://localhost:8000. For frontend development with hot reload:

cd web/ui && bun run dev      # Vite dev server
bun check                     # Type checking

Desktop UI (PySide6)

uv run vxl-qt                 # Optionally: uv run vxl-qt config.yaml

vxl

The core package that models a light sheet microscope as a coordinated rig of devices.

  • Rig — manages cameras, lasers, DAQs, stages, AOTFs, and filter wheels. Can run locally or distributed across networked nodes. Defined entirely in YAML.
  • Optical layout — detection and illumination paths describe the physical light paths. Channels pair a detection path with an illumination path and set filter positions.
  • Profiles — group channels with DAQ waveform timing for synchronized multi-channel acquisition.
  • Sessions — manage an experiment end-to-end: tile grid planning, per-stack Z ranges, and acquisition execution. Persisted to disk as .voxel.yaml so they survive restarts.
  • Device handles — typed async APIs for each device class (camera, laser, stage, etc.). Work identically whether the device is local or remote.

Example configs are in src/vxl/_configs/ — start with simulated.local.rig.yaml to explore without hardware.

Packages

Package Description
vxl Microscope orchestration, acquisition, and configuration
vxl-drivers Hardware drivers (NI DAQ, ASI stages, Vieworks/Hamamatsu/Ximea cameras, AA Opto AOTFs)
vxl-web Web interface (FastAPI + SvelteKit)
vxl-qt Desktop interface (PySide6)
rigup Distributed device control framework
vxlib Shared types and utilities
omezarr OME-Zarr streaming writer with multi-scale pyramids

License

MIT - Allen Institute for Neural Dynamics

About

General purpose microscope control repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors