PoissonGroup class¶
(Shortest import: from brian2 import PoissonGroup)
-
class
brian2.input.poissongroup.PoissonGroup(**kwds)[source]¶ Bases:
brian2.groups.group.Group,brian2.core.spikesource.SpikeSourcePoisson spike source
Parameters: N : int
Number of neurons
rates :
Quantity, strSingle rate, array of rates of length N, or a string expression evaluating to a rate. This string expression will be evaluated at every time step, it can therefore be time-dependent (e.g. refer to a
TimedArray).dt :
Quantity, optionalThe time step to be used for the simulation. Cannot be combined with the
clockargument.clock :
Clock, optionalThe update clock to be used. If neither a clock, nor the
dtargument is specified, thedefaultclockwill be used.when : str, optional
When to run within a time step, defaults to the
'thresholds'slot.order : int, optional
The priority of of this group for operations occurring at the same time step and in the same scheduling slot. Defaults to 0.
name : str, optional
Unique name, or use poissongroup, poissongroup_1, etc.
Attributes
namespaceThe group-specific namespace spikesThe spikes returned by the most recent thresholding operation. Methods
before_run([run_namespace])Optional method to prepare the object before a run. Details
-
namespace¶ The group-specific namespace
-
spikes¶ The spikes returned by the most recent thresholding operation.
-
Tutorials and examples using this¶
- Tutorial 3-intro-to-brian-simulations
- Example adaptive_threshold
- Example synapses/STDP
- Example frompapers/Stimberg_et_al_2018/example_4_synrel
- Example frompapers/Stimberg_et_al_2018/example_4_rsmean
- Example standalone/STDP_standalone
- Example advanced/custom_events