code: def tally(self, chain):
          
  
          arr = np.asarray(self._getfunc())
          arr = arr.reshape((1,) + arr.shape)
          self.db._arrays[chain, self.name].append(arr)
docs: Adds current value to trace.