code: def _read_eps_ctr(tomodir):
          
          epsctr_file = tomodir + os.sep + 'inv' + os.sep + 'eps.ctr'
          if not os.path.isfile(epsctr_file):
              print('eps.ctr not found: {0}'.format(epsctr_file))
              print(os.getcwd())
              return 1
  
          with open(epsctr_file, 'r') as fid:
              lines = fid.readlines()
          group = itertools.groupby(lines, lambda x: x == '\n')
          dfs = []
          # group
          for x in group:
              # print(x)
              if not x[0]:
                  data = [y for y in x[1]]
                  if data[0].startswith('IT') or data[0].startswith('PIT'):
                      del(data[0])
                  data[0] = data[0].replace('-Phase (rad)', '-Phase(rad)')
                  tfile = StringIO(''.join(data))
                  df = pd.read_csv(
                      tfile,
                      delim_whitespace=True,
                      na_values=['Infinity'],
                  )
                  dfs.append(df)
          return dfs
docs: Parse a CRTomo eps.ctr file.
  
          TODO: change parameters to only provide eps.ctr file
  
          Parameters
          ----------
          tomodir: string
              Path to directory path
  
          Returns
          -------