nest / nest-simulator

The NEST simulator
http://www.nest-simulator.org
GNU General Public License v2.0
542 stars 367 forks source link

Allow use of pairwise_bernoulli rule for connections to devices #3110

Open heplesser opened 8 months ago

heplesser commented 8 months ago

560 prohibited the use of probabilistic connection rules when connecting to devices to address #351.

This rule is overly restrictive: Only connection rules that have a global constraint, such as fixed in- or outdegree and fixed total number. In contrast, pairwise Bernoulli checks each connection independently, so as long as each VP only considers sources on that VP, it is safe to use it for connecting to devices.

A use case is to randomly connect a given percentage of neurons in a population to a spike recorder for recording, when recording of all neurons is not practical. This would be especially useful for NEST Desktop. Note that slicing a subset of neurons is only sensible for random networks (mentioned by @babsey).

github-actions[bot] commented 6 months ago

Issue automatically marked stale!