def reset(self):
    """
    Clear the active cells.
    """
    self.bumpPhases = np.empty((2,0), dtype="float")
    self.phaseDisplacement = np.empty((0,2), dtype="float")
    self.cellsForActivePhases = np.empty(0, dtype="int")
    self.activeCells = np.empty(0, dtype="int")
    self.learningCells = np.empty(0, dtype="int")
    self.sensoryAssociatedCells = np.empty(0, dtype="int")
def reset ( self ) : self . bumpPhases = np . empty ( ( 2 , 0 ) , dtype = "float" ) self . phaseDisplacement = np . empty ( ( 0 , 2 ) , dtype = "float" ) self . cellsForActivePhases = np . empty ( 0 , dtype = "int" ) self . activeCells = np . empty ( 0 , dtype = "int" ) self . learningCells = np . empty ( 0 , dtype = "int" ) self . sensoryAssociatedCells = np . empty ( 0 , dtype = "int" )
Clear the active cells.