@verbose
def read_evokeds(fname, condition=None, baseline=None, kind='average', proj=True, allow_maxshield=False, verbose=None):
 check_fname(fname, 'evoked', ('-ave.fif', '-ave.fif.gz'))
 logger.info(('Reading %s ...' % fname))
 return_list = True
 if (condition is None):
  evoked_node = _get_evoked_node(fname)
  condition = range(len(evoked_node))
 elif (not isinstance(condition, list)):
  condition = [condition]
  return_list = False
 out = [Evoked(fname, c, kind=kind, proj=proj, allow_maxshield=allow_maxshield, verbose=verbose).apply_baseline(baseline) for c in condition]
 return (out if return_list else out[0])

@ verbose def read_evokeds ( fname , condition = None , baseline = None , kind = 'average' , proj = True , allow_maxshield = False , verbose = None ) : check_fname ( fname , 'evoked' , ( '-ave.fif' , '-ave.fif.gz' ) ) logger . info ( ( 'Reading %s ...' % fname ) ) return_list = True if ( condition is None ) : evoked_node = _get_evoked_node ( fname ) condition = range ( len ( evoked_node ) ) elif ( not isinstance ( condition , list ) ) : condition = [ condition ] return_list = False out = [ Evoked ( fname , c , kind = kind , proj = proj , allow_maxshield = allow_maxshield , verbose = verbose ) . apply_baseline ( baseline ) for c in condition ] return ( out if return_list else out [ 0 ] )
read evoked dataset(s) .