File formats
Format |
Content |
Writer / reader |
Spec |
|---|---|---|---|
Project JSON (+ |
geometry, fields, schedule, genome, plan, plugins, neuron model |
|
|
Network JSON |
neurons and synapses of an |
|
readable; for small and medium networks |
NGB1 |
binary network: int32 indices, float64 positions, optional extension columns |
|
Bridge protocol, version 1.0 (section 6) |
Module JSON ( |
plan, genome, interface, validation, provenance |
|
|
Genome JSON |
genome with |
|
|
CSR arrays |
|
|
kernels |
SONATA |
nodes / edges HDF5, type tables, circuit config, for BMTK, NEST, NEURON, libsonata |
|
|
SWC |
neuron morphologies (skeletons) |
|
Stage, geometry and field reference (arbors) |
Exchanging networks
from neurogenesis.spiking.network import SNNNetwork
net = SNNNetwork.load_json("network.json")
row_ptr, col_idx, weights, delays = net.to_csr() # NumPy arrays (presynaptic rows)
The CSR arrays can be loaded into SciPy (scipy.sparse.csr_matrix((weights, col_idx, row_ptr))), NetworkX or any
graph library.
PLACEHOLDER
Further formats (roadmap phase J): NIR, PyNN scripts, NeuroML 2 / LEMS (Gleeson et al. 2010), gene-expression atlas grids as fields, NWB / neo recordings as fitting targets.