Spiking neural network simulation via API
NEURON (Yale) and Brian2 (École Normale Supérieure) are the two standard simulators for computational neuroscience. SciRouter wraps both behind one endpoint: define a network topology, get back spike trains, firing rates, and network state. Backed by the BRAIN Initiative and the EU Human Brain Project ecosystem.
/v1/neuro/simulate-circuitimport requests
r = requests.post(
"https://scirouter-gateway-production.up.railway.app/v1/neuro/simulate-circuit",
headers={"Authorization": "Bearer sk-sci-..."},
json={
"simulator": "brian2",
"neurons": 1000,
"topology": "random",
"duration_ms": 1000,
},
)
result = r.json()["data"]
print(f"Total spikes: {result['total_spikes']}")
print(f"Mean rate: {result['mean_firing_rate_hz']:.1f} Hz")
print(f"Regime: {result['regime']}")Computational neuroscience research
Network dynamics studies
BCI algorithm development
Teaching spiking neural networks