def get_config(subject: Optional[str] = None, session: Optional[str] = None) -> BunchConst: cfg = BunchConst(task=config.get_task(), datatype=config.get_datatype(), runs=config.get_runs(subject=subject), acq=config.acq, rec=config.rec, space=config.space, deriv_root=config.get_deriv_root(), interactive=config.interactive, ica_l_freq=config.ica_l_freq, ica_algorithm=config.ica_algorithm, ica_n_components=config.ica_n_components, ica_max_iterations=config.ica_max_iterations, ica_decim=config.ica_decim, ica_reject=config.get_ica_reject(), ica_eog_threshold=config.ica_eog_threshold, ica_ctps_ecg_threshold=config.ica_ctps_ecg_threshold, random_state=config.random_state, ch_types=config.ch_types, l_freq=config.l_freq, decim=config.decim, resample_sfreq=config.resample_sfreq, event_repeated=config.event_repeated, epochs_tmin=config.epochs_tmin, epochs_tmax=config.epochs_tmax, eeg_reference=config.get_eeg_reference(), eog_channels=config.eog_channels) return cfg
def get_config( subject: Optional[str] = None, session: Optional[str] = None ) -> BunchConst: cfg = BunchConst( subjects=config.get_subjects(), task=config.get_task(), datatype=config.get_datatype(), acq=config.acq, rec=config.rec, space=config.space, proc=config.proc, deriv_root=config.get_deriv_root(), conditions=config.conditions, contrasts=config.contrasts, decode=config.decode, decoding_metric=config.decoding_metric, decoding_n_splits=config.decoding_n_splits, random_state=config.random_state, n_boot=config.n_boot, analyze_channels=config.analyze_channels, interpolate_bads_grand_average=config.interpolate_bads_grand_average, ch_types=config.ch_types, eeg_reference=config.get_eeg_reference(), interactive=config.interactive ) return cfg
def get_config( subject: Optional[str] = None, session: Optional[str] = None ) -> BunchConst: cfg = BunchConst( process_er=config.process_er, runs=config.get_runs(subject=subject), use_maxwell_filter=config.use_maxwell_filter, proc=config.proc, task=config.get_task(), datatype=config.get_datatype(), session=session, acq=config.acq, rec=config.rec, space=config.space, bids_root=config.get_bids_root(), deriv_root=config.get_deriv_root(), interactive=config.interactive, epochs_tmin=config.epochs_tmin, epochs_tmax=config.epochs_tmax, epochs_metadata_tmin=config.epochs_metadata_tmin, epochs_metadata_tmax=config.epochs_metadata_tmax, epochs_metadata_keep_first=config.epochs_metadata_keep_first, epochs_metadata_keep_last=config.epochs_metadata_keep_last, event_repeated=config.event_repeated, decim=config.decim, ch_types=config.ch_types, eeg_reference=config.get_eeg_reference() ) return cfg
def get_config(subject: Optional[str] = None, session: Optional[str] = None) -> SimpleNamespace: cfg = SimpleNamespace( task=config.get_task(), datatype=config.get_datatype(), acq=config.acq, rec=config.rec, space=config.space, deriv_root=config.get_deriv_root(), time_frequency_conditions=config.time_frequency_conditions, analyze_channels=config.analyze_channels, spatial_filter=config.spatial_filter, ch_types=config.ch_types, eeg_reference=config.get_eeg_reference(), time_frequency_freq_min=config.time_frequency_freq_min, time_frequency_freq_max=config.time_frequency_freq_max) return cfg
def get_config(subject: Optional[str] = None, session: Optional[str] = None) -> BunchConst: cfg = BunchConst(task=config.get_task(), datatype=config.get_datatype(), acq=config.acq, rec=config.rec, space=config.space, deriv_root=config.get_deriv_root(), conditions=config.conditions, contrasts=config.contrasts, decode=config.decode, decoding_metric=config.decoding_metric, decoding_n_splits=config.decoding_n_splits, random_state=config.random_state, analyze_channels=config.analyze_channels, ch_types=config.ch_types, eeg_reference=config.get_eeg_reference(), n_jobs=config.get_n_jobs()) return cfg