#NEWLINE# def build( self , traj , brian_list , network_dict ) : #NEWLINE# #INDENT# if ( not self . pre_built ) : #NEWLINE# #INDENT# group = network_dict [ 'group' ] #NEWLINE# syn = Synapses ( network_dict , group , pre = 'v-=1*mV' ) #NEWLINE# syn . connect_random ( sparseness = traj . prob ) #NEWLINE# brian_list . append ( syn ) #NEWLINE# network_dict [ 'synapses' ] = syn