Open Source Data Packages & Python SDK
All connectome matrices, computational neuron coordinates, and biophysical ODE implementations are completely open source. Download the packaged binary NumPy archive (.npz) or interact with the Python SDK and REST/WebSocket endpoints.
danio_brain_v2.npz (12.54 MB)
SHA256: 78a9c2d14f08e51b34e565ad0c4871e4cb8e678396f7e8b61a3d9021e845c432
Contains: 203 empirical regions, 650,000 somatic coordinate vectors $(X,Y,Z)$, 1,023 axonal tract splines, synaptic adjacency matrices, and baseline resting potentials.
Python SDK Quickstart
Load the binary brain memory into NumPy or PyTorch and run closed-loop trials:
# Install or clone repository
git clone https://github.com/0xalydev/danio.git
cd danio
# Load binary package in Python
import numpy as np
brain = np.load("danio_brain_v2.npz", allow_pickle=True)
coords = brain["coordinates"] # Shape: (650000, 3)
regions = brain["region_indices"] # 203 empirical anatomical nuclei
weights = brain["synaptic_weights"] # Sparse conductance tensor
print(f"Loaded {len(coords):,} neurons across {len(np.unique(regions))} regions.")
REST & WebSocket Telemetry Endpoints
| METHOD | ENDPOINT | DESCRIPTION |
|---|---|---|
| GET | /api/brain/stats | Metadata, cranial volume, 203 nuclei, and citation DOI |
| GET | /api/activity/summary | 50 Hz motor pools, mean membrane potential, active units |
| POST | /api/sim/inject | Inject sensory pulse (prey, predator threat, acoustic click) |
| WS | /ws/telemetry | 50 Hz bi-directional WebSocket telemetry stream |
Official GitHub Repository
https://github.com/0xalydev/danio