original_docstring: 
      Get a look up table of the neutral fraction
      
docstring: Get a look up table of the neutral fraction
docstring_tokens: Get a look up table of the neutral fraction
code: def lookup_xh(basedir, fieldflag = "tb"):
      """
      Get a look up table of the neutral fraction
      """
      xhlookup = {}
      longdict = boxes_list_from_files(basedir, fieldflag)
      for z in sorted(longdict.keys()):
          filename = longdict[z]
          match=re.search('_nf([0-9.]+)',filename)
          xh = float(match.group(1))
          xhlookup[z] = xh
      return xhlookup
code_tokens: def lookup_xh ( basedir , fieldflag = "tb" ) : xhlookup = { } longdict = boxes_list_from_files ( basedir , fieldflag ) for z in sorted ( longdict . keys ( ) ) : filename = longdict [ z ] match = re . search ( '_nf([0-9.]+)' , filename ) xh = float ( match . group ( 1 ) ) xhlookup [ z ] = xh return xhlookup
short_docstring: Get a look up table of the neutral fraction
short_docstring_tokens: Get a look up table of the neutral fraction
comment: """
      Get a look up table of the neutral fraction
      """