Tutorials¶
PyNEST tutorial explain here is where you should start if you dont know nest
Test grid variants¶
import nest
neurons = nest.Create("iaf_psc_alpha", 10000, {
"V_m": nest.random.normal(-5.0),
"I_e": 1000.0
})
input = nest.Create("noise_generator", params={
"amplitude": 500.0
})
nest.Connect(input, neurons, syn_spec={'synapse_model': 'stdp_synapse'})
spikes = nest.Create("spike_recorder", params={
'record_to': 'ascii',
'label': 'excitatory_spikes'
})
nest.Connect(neurons, spikes)
nest.Simulate(100.0)
nest.raster_plot.from_device(spikes, hist=True)
plt.show()
API Docs
Create()Connect()Simulate()See all PyNEST functions
Guides
link_to_neurondocs
link_to_connectiondocs
link_to_docs