#NEWLINE# def accumulate( self , con_idx , csd_xy ) : #NEWLINE# #INDENT# 'Accumulate some connections' #NEWLINE# im_csd = np . imag ( csd_xy ) #NEWLINE# self . _acc [ ( 0 , con_idx ) ] += im_csd #NEWLINE# self . _acc [ ( 1 , self ) ] += np . abs ( im_csd ) #NEWLINE# self . _acc [ ( 2 , con_idx ) ] += ( im_csd ** 2 )