Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


manual:ras

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
manual:ras [2014/01/13 12:26] – adds headlines zenkemanual:ras [2016/08/08 20:22] (current) – [ras file format definition] zenke
Line 1: Line 1:
-====== ras format definition ======+====== ras file format definition ======
  
-The file extension "rasis used for spiking data files created by the [[SpikeMonitor]]. The format is a space separated list containing "time  neuronnumber" pairs:+The ras file format is a human readable ASCII file format to encode spiking activity from a population of numbered neurons. The format is a space separated list containing "time  neuronnumber" pairs, of which time is given in seconds and the neuron id is given as integer:
  
 <code> <code>
Line 11: Line 11:
 5.716600  1464 5.716600  1464
 </code> </code>
 +The neuron number refers to the [[NeuronID]] within a [[SpikingGroup]]. The suggested file extension "ras" and as it is used for created by the [[SpikeMonitor]].
  
-Time is as usual given in units of seconds. The neuron number refers to the [[NeuronID]] within a [[SpikingGroup]]+The format can be easily visualized with gnuplot, matplotlib or another function plotter, by plotting it as scatterplot: 
 +{{ :manual:ras.png |}}
  
 ===== Merging ras files from multiple ranks ===== ===== Merging ras files from multiple ranks =====
  
-When running in parallel you will often encounter having to merge the ras files from multiple ranks (e.g. output.X.ras). This can be done efficiently using linux ''sort'' program+When [[parallel execution|running in parallel]] you will often encounter having to merge the ras files from multiple ranks (e.g. output.X.ras). This can be done efficiently using linux ''sort'' program
 <code shell> <code shell>
 sort -g -m output.*.ras > output.ras sort -g -m output.*.ras > output.ras
 </code> </code>
manual/ras.1389616019.txt.gz · Last modified: 2014/01/13 12:26 by zenke