def show_fiff(fname, indent='    ', read_limit=np.inf, max_str=30, output=str, verbose=None):
 if (output not in [list, str]):
  raise ValueError('output must be list or str')
 (f, tree, directory) = fiff_open(fname)
 tree['block'] = FIFF.FIFFB_ROOT
 with f as fid:
  out = _show_tree(fid, tree, indent=indent, level=0, read_limit=read_limit, max_str=max_str)
 if (output == str):
  out = '\n'.join(out)
 return out

def show_fiff ( fname , indent = '    ' , read_limit = np . inf , max_str = 30 , output = str , verbose = None ) : if ( output not in [ list , str ] ) : raise ValueError ( 'output must be list or str' ) ( f , tree , directory ) = fiff_open ( fname ) tree [ 'block' ] = FIFF . FIFFB_ROOT with f as fid : out = _show_tree ( fid , tree , indent = indent , level = 0 , read_limit = read_limit , max_str = max_str ) if ( output == str ) : out = '\n' . join ( out ) return out
show fiff information .