original_docstring: 
      _genGrid create a 1D coordinate vector.
      Inputs:
              size : length of the coordinate vector
              dx   : step size of the 1D coordinate
      Output:
              grid : 1D coordinate vector
      
docstring: _genGrid create a 1D coordinate vector.
docstring_tokens: _genGrid create a 1D coordinate vector .
code: def _genGrid(size, dx):
      '''
      _genGrid create a 1D coordinate vector.
      Inputs:
              size : length of the coordinate vector
              dx   : step size of the 1D coordinate
      Output:
              grid : 1D coordinate vector
      '''
      xlin = np.arange(size, dtype='complex64')
      grid = (xlin-size//2)*dx
      return grid
code_tokens: def _genGrid ( size , dx ) : xlin = np . arange ( size , dtype = 'complex64' ) grid = ( xlin - size // 2 ) * dx return grid
short_docstring: _genGrid create a 1D coordinate vector.
short_docstring_tokens: _genGrid create a 1D coordinate vector .
comment: '''
      _genGrid create a 1D coordinate vector.
      Inputs:
              size : length of the coordinate vector
              dx   : step size of the 1D coordinate
      Output:
              grid : 1D coordinate vector
      '''