Skip to content

Instantly share code, notes, and snippets.

@karnigili
Last active December 16, 2019 12:28
Show Gist options
  • Save karnigili/1fbb69a74b35b4c26410377f0eea91ba to your computer and use it in GitHub Desktop.
Save karnigili/1fbb69a74b35b4c26410377f0eea91ba to your computer and use it in GitHub Desktop.
sim.runSim() # run parallel Neuron simulation
sim.gatherData() # gather spiking data and cell info from each node
#print raster
sim.analysis.plotRaster(syncLines=True)
pylab.show()
#print spike hist
sim.analysis.plotSpikeHist(include=['population1'])
pylab.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment