Demonstrates multiple synapse types between the same pre/post cell pair, showing how different receptor types (AMPA, NMDA, GABA) can coexist on a single connection with different kinetics.
import matplotlib.pyplot as pltimport numpy as npfor name, ref_arr in ref_outputs.items(): t = ref_arr[:, 0] *1000 fig, ax = plt.subplots(figsize=(10, 4))for i inrange(1, min(ref_arr.shape[1], 6)): ax.plot(t, ref_arr[:, i] *1000, alpha=0.8, label=f'Cell {i}') ax.set_xlabel("Time (ms)") ax.set_ylabel("Voltage (mV)") ax.set_title(f"Ex27: Multi-Synapses — {name}") ax.legend(fontsize=7) ax.grid(True, alpha=0.3) plt.tight_layout() plt.show()
Multi-Synapses
Multiple synapse types (AMPA, NMDA, GABA) per connection is a NeuroML network feature. TVBO represents the cell dynamics; synaptic diversity is handled by the NeuroML adapter.