def get_range( samp ):
  """ Creates range object from input

  Parameters:
    * samp (list, array, tuple): array object with three elements [start, stop, step]

  Returns:
    * range: (start, stop, step) object

  Notes:
    * stop position is increased by addition with the step to allow for 
      complete iteration over the range


  """

  return range( samp[0], samp[1]+samp[2], samp[2] )