Current-based (as opposed to conductance-based) synaptic models
Model: Current-Based Synapses
Current-based synapses inject a fixed current waveform on spike arrival, as opposed to conductance-based synapses where current depends on driving force.
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"Ex21: Current-Based Synapses — {name}") ax.legend(fontsize=7) ax.grid(True, alpha=0.3) plt.tight_layout() plt.show()
Current-Based Synapses
Synaptic models (alphaCurrSynapse, expCurrSynapse) are NeuroML-native network features. TVBO represents the cell dynamics; synaptic kinetics are handled by the NeuroML adapter.