#NEWLINE# def compute_con( self , con_idx , n_epochs ) : #NEWLINE# #INDENT# 'Compute final con. score for some connections' #NEWLINE# if ( self . con_scores is None ) : #NEWLINE# #INDENT# self . con_scores = np . zeros ( self . csd_shape ) #NEWLINE# #UNINDENT# pli_mean = ( self . _acc [ con_idx ] / n_epochs ) #NEWLINE# self . con_scores [ con_idx ] = np . abs ( pli_mean )