Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


manual:pat

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:pat [2014/10/09 16:02] – Adds missing second column description. zenkemanual:pat [2018/02/28 18:00] (current) – typo zenke
Line 1: Line 1:
-''pat'' - or pattern files are used in Auryn to defined patterns as a subset of neurons of single [[NeuronGroup]] with associated activity (gamma) value between zero and one. They are a human readable exchange format and are understood by a range of Auryn objects. [[SparseConnection]] for instance implements a set of functions to load such pattern files as cell assemblies (or synfire chains) into the connection matrix. +====== Pattern files ======
  
-====== File structure ======+''pat'' - or pattern files are used in Auryn to defined patterns as a subset of neurons of single [[NeuronGroup]] with associated activity (gamma) value between zero and one. They are a human readable exchange format and are understood by a range of Auryn objects. [[SparseConnection]] for instance implements a set of functions to load such pattern files as cell assemblies (or synfire chains) into the connection matrix. [[PatternMonitor]] on the other hand allows to record firing rates from neural subpopulations specified by ''pat'' files and finally [[WeightMonitor]] has a set of functions to monitor synaptic weights within or between neurons specified in a ''pat'' file. 
 + 
 +===== File structure =====
  
 The first bit of a ''pat'' file could look like this: The first bit of a ''pat'' file could look like this:
Line 18: Line 20:
 401 0.057406  401 0.057406 
 </code> </code>
-where the first column specifies the [[NeuronID]] and the second column the associated gamma value. Patterns are separated by 2 or more linebreaks. Comments can be added to the file and have to be marked with a leading ''#'', which has to be the first character on a line. If the second column is missing the value will be interpreted as 1.0. +where the first column specifies the [[NeuronID]] and the second column the associated gamma value. Different patterns in a single pattern file are **separated by 2 or more line breaks**. Comments can be added to the file and have to be marked with a leading ''#'', which has to be the first character on a line. If the second column is missing the value will be interpreted as 1.0. Therefore a pattern file without second column is also a valid pattern file. 
  
 ==== See also ==== ==== See also ====
 [[PatternMonitor]] and [[StimulusGroup]]. [[PatternMonitor]] and [[StimulusGroup]].
manual/pat.txt · Last modified: 2018/02/28 18:00 by zenke