som.py
def q_lookup(self, index):
        '''
        Computing the position of the 1D index in 2D kxk space
        '''
        
        return np.array([index/self.size, index%self.size])

        Computing the position of the 1D index in 2D kxk space
        
Computing the position of the 1D index in 2D kxk space
Computing the position of the 1D index in 2D kxk space
def q_lookup(self, index):
        return np.array([index/self.size, index%self.size])
def q_lookup ( self , index ) : return np . array ( [ index / self . size , index % self . size ] )
Computing the position of the 1D index in 2D kxk space
Computing the position of the 1D index in 2D kxk space
'''
        Computing the position of the 1D index in 2D kxk space
        '''
self
index