def connect(self, projection): decider = pypcsim.RandomConnections(float(self.p_connect)) wiring_method = pypcsim.DistributedSyncWiringMethod(simulator.net) return decider, wiring_method, self.weights, self.delays
def connect(self, projection): # what about allow_self_connections? decider = pypcsim.RandomConnections(1) wiring_method = pypcsim.DistributedSyncWiringMethod(simulator.net) return decider, wiring_method, self.weights, self.delays