Run from source
Build it yourself
Needs a C++20 compiler, CMake 3.24+, static GSL, Python 3 and Godot 4.7.
git clone https://github.com/ixaxaar/spikes
cd spikes
scripts/build-all.sh --tests # NEST (pinned), NESTML cells, engine, extension, tests
godot --path godot
Or in Docker: docker build -t spike-build . && docker run --rm -v "$PWD":/src spike-build scripts/build-all.sh --tests. Packaging, tests and custom cells: docs/BUILD.md.
A circuit is data
One JSON file that the game, the C++ engine and the Python package all read, so a circuit built in the game runs unchanged in PyNEST, with identical spikes.
import spike # python/
net = spike.build("my_circuit.json") # the file you saved in the game
spikes = spike.run(net, 1000.0)