arte/utils/circular_buffer.py
def store(self, data, position=None):
        '''
        Store a record in the circular buffer.

        By default, the record is stored following an internal counter,
        which is then incremented.
        '''
        if position is None:
            position = self._position[0]

        self._buf[position,:] = data
        self._counter[0] = self._counter[0] + 1
        self._position[0] = self._counter[0] % self._len

        Store a record in the circular buffer.

        By default, the record is stored following an internal counter,
        which is then incremented.
        
Store a record in the circular buffer.
By default, the record is stored following an internal counter,
which is then incremented.
Store a record in the circular buffer . By default the record is stored following an internal counter which is then incremented .
def store(self, data, position=None):
        if position is None:
            position = self._position[0]
        self._buf[position,:] = data
        self._counter[0] = self._counter[0] + 1
        self._position[0] = self._counter[0] % self._len
def store ( self , data , position = None ) : if position is None : position = self . _position [ 0 ] self . _buf [ position , : ] = data self . _counter [ 0 ] = self . _counter [ 0 ] + 1 self . _position [ 0 ] = self . _counter [ 0 ] % self . _len
Store a record in the circular buffer.
Store a record in the circular buffer .
'''
        Store a record in the circular buffer.

        By default, the record is stored following an internal counter,
        which is then incremented.
        '''
self
data
position