code: def get_grid(start, end, nsteps=100):
      
      step = (end-start) / float(nsteps)
      return [start + i * step for i in xrange(nsteps+1)]
docs: Generates a equal distanced list of float values with nsteps+1 values, begining start and ending with end.
  
      :param start: the start value of the generated list.
  
      :type float
  
      :param end: the end value of the generated list.
  
      :type float
  
      :param nsteps: optional the number of steps (default=100), i.e. the generated list contains nstep+1 values.
  
      :type int