parameters: (hmin, hmax, kmin, kmax, lmin, lmax)
return_statement: return hkl
docstring: genhkl generates array of hkl values
      total number of points will be (hmax-hmin)
docstring_summary: genhkl generates array of hkl values
      total number of points will be (hmax-hmin)
docstring_tokens: genhkl generates array of hkl values total number of points will be ( hmax - hmin )
function: def genhkl(hmin, hmax, kmin, kmax, lmin, lmax):
      '''
      genhkl generates array of hkl values
      total number of points will be (hmax-hmin)
      '''
      hvals = np.arange(hmin, hmax + 1, 1)
      kvals = np.arange(kmin, kmax + 1, 1)
      lvals = np.arange(lmin, lmax + 1, 1)
  
      nh = len(hvals)
      nk = len(kvals)
      nl = len(lvals)
  
      l = 0
      hkl = np.zeros(shape=(nh * nl * nk, 3))
      for i in range(nh):
          for j in range(nk):
              for k in range(nl):
                  hkl[l][0] = hvals[i]
                  hkl[l][1] = kvals[j]
                  hkl[l][2] = lvals[k]
                  l += 1
      return hkl
function_tokens: def genhkl ( hmin , hmax , kmin , kmax , lmin , lmax ) : hvals = np . arange ( hmin , hmax + 1 , 1 ) kvals = np . arange ( kmin , kmax + 1 , 1 ) lvals = np . arange ( lmin , lmax + 1 , 1 ) nh = len ( hvals ) nk = len ( kvals ) nl = len ( lvals ) l = 0 hkl = np . zeros ( shape = ( nh * nl * nk , 3 ) ) for i in range ( nh ) : for j in range ( nk ) : for k in range ( nl ) : hkl [ l ] [ 0 ] = hvals [ i ] hkl [ l ] [ 1 ] = kvals [ j ] hkl [ l ] [ 2 ] = lvals [ k ] l += 1 return hkl