@verbose
def compute_source_psd_epochs(epochs, inverse_operator, lambda2=(1.0 / 9.0), method='dSPM', fmin=0.0, fmax=200.0, pick_ori=None, label=None, nave=1, pca=True, inv_split=None, bandwidth=4.0, adaptive=False, low_bias=True, return_generator=False, n_jobs=1, prepared=False, verbose=None):
 stcs_gen = _compute_source_psd_epochs(epochs, inverse_operator, lambda2=lambda2, method=method, fmin=fmin, fmax=fmax, pick_ori=pick_ori, label=label, nave=nave, pca=pca, inv_split=inv_split, bandwidth=bandwidth, adaptive=adaptive, low_bias=low_bias, n_jobs=n_jobs, prepared=prepared)
 if return_generator:
  return stcs_gen
 else:
  stcs = list()
  for stc in stcs_gen:
   stcs.append(stc)
  return stcs

@ verbose def compute_source_psd_epochs ( epochs , inverse_operator , lambda2 = ( 1.0 / 9.0 ) , method = 'dSPM' , fmin = 0.0 , fmax = 200.0 , pick_ori = None , label = None , nave = 1 , pca = True , inv_split = None , bandwidth = 4.0 , adaptive = False , low_bias = True , return_generator = False , n_jobs = 1 , prepared = False , verbose = None ) : stcs_gen = _compute_source_psd_epochs ( epochs , inverse_operator , lambda2 = lambda2 , method = method , fmin = fmin , fmax = fmax , pick_ori = pick_ori , label = label , nave = nave , pca = pca , inv_split = inv_split , bandwidth = bandwidth , adaptive = adaptive , low_bias = low_bias , n_jobs = n_jobs , prepared = prepared ) if return_generator : return stcs_gen else : stcs = list ( ) for stc in stcs_gen : stcs . append ( stc ) return stcs
compute source power spectrum density from epochs .