code: def blk_1d(blk, shape):
      
      maxpix, rem = blk_coverage_1d(blk, shape)
      for i in range(0, maxpix, blk):
          yield slice(i, i + blk)
  
      if rem != 0:
          yield slice(maxpix, shape)
docs: Iterate through the slices that recover a line.
  
      This function is used by :func:`blk_nd` as a base 1d case.
  
      The last slice  is returned even if is lesser than blk.
  
      :param blk: the size of the block
      :param shape: the size of the array
      :return: a generator that yields the slices