parameters: (Vpot)
return_statement: return (x, y, z, w)
docstring: Returns the x, y, z, and weights of a grid as a tuple of NumPy array objects.
docstring_summary: Returns the x, y, z, and weights of a grid as a tuple of NumPy array objects.
docstring_tokens: Returns the x y z and weights of a grid as a tuple of NumPy array objects .
function: def _core_vbase_get_np_xyzw(Vpot):
      """
      Returns the x, y, z, and weights of a grid as a tuple of NumPy array objects.
      """
      x_list = []
      y_list = []
      z_list = []
      w_list = []
  
      # Loop over every block in the potenital
      for b in range(Vpot.nblocks()):
  
          # Obtain the block
          block = Vpot.get_block(b)
  
          # Obtain the x, y, and z coordinates along with the weight
          x_list.append(block.x())
          y_list.append(block.y())
          z_list.append(block.z())
          w_list.append(block.w())
  
      x = np.hstack(x_list)
      y = np.hstack(y_list)
      z = np.hstack(z_list)
      w = np.hstack(w_list)
  
      return (x, y, z, w)
function_tokens: def _core_vbase_get_np_xyzw ( Vpot ) : x_list = [ ] y_list = [ ] z_list = [ ] w_list = [ ] # Loop over every block in the potenital for b in range ( Vpot . nblocks ( ) ) : # Obtain the block block = Vpot . get_block ( b ) # Obtain the x, y, and z coordinates along with the weight x_list . append ( block . x ( ) ) y_list . append ( block . y ( ) ) z_list . append ( block . z ( ) ) w_list . append ( block . w ( ) ) x = np . hstack ( x_list ) y = np . hstack ( y_list ) z = np . hstack ( z_list ) w = np . hstack ( w_list ) return ( x , y , z , w )