@verbose
def dics_epochs(epochs, forward, noise_csd, data_csd, reg=0.01, label=None, pick_ori=None, return_generator=False, verbose=None):
 _check_reference(epochs)
 info = epochs.info
 tmin = epochs.times[0]
 picks = _setup_picks(picks=None, info=info, forward=forward)
 data = epochs.get_data()[:, picks, :]
 stcs = _apply_dics(data, info, tmin, forward, noise_csd, data_csd, reg=reg, label=label, pick_ori=pick_ori, picks=picks)
 if (not return_generator):
  stcs = list(stcs)
 return stcs

@ verbose def dics_epochs ( epochs , forward , noise_csd , data_csd , reg = 0.01 , label = None , pick_ori = None , return_generator = False , verbose = None ) : _check_reference ( epochs ) info = epochs . info tmin = epochs . times [ 0 ] picks = _setup_picks ( picks = None , info = info , forward = forward ) data = epochs . get_data ( ) [ : , picks , : ] stcs = _apply_dics ( data , info , tmin , forward , noise_csd , data_csd , reg = reg , label = label , pick_ori = pick_ori , picks = picks ) if ( not return_generator ) : stcs = list ( stcs ) return stcs
dynamic imaging of coherent sources .