mnefun.Params

class mnefun.Params(tmin=None, tmax=None, t_adjust=0, bmin=-0.2, bmax=0.0, n_jobs=6, lp_cut=55, decim=5, proj_sfreq=None, n_jobs_mkl=1, n_jobs_fir='cuda', n_jobs_resample='cuda', filter_length=32768, drop_thresh=1, epochs_type='fif', fwd_mindist=2.0, bem_type='5120-5120-5120', auto_bad=None, ecg_channel=None, eog_channel=None, plot_raw=False, match_fun=None, hp_cut=None, cov_method='empirical', ssp_eog_reject=None, ssp_ecg_reject=None, baseline='individual', reject_tmin=None, reject_tmax=None, lp_trans=0.5, hp_trans=0.5)

Make a parameter structure for use with do_processing.

See the Overview for a description of the options.

Some params can be set on init, but it’s better to set them in a YAML file.

Attributes:
pca_extra
pca_fif_tag
report

Methods

convert_subjects(subj_template[, struc_template])

Convert subject names.

freeze()

Freeze the object so that only existing properties can be set

save(fname)

Save to a YAML file.

unfreeze()

Unfreeze the object so that additional properties can be added

convert_subjects(subj_template, struc_template=None)

Convert subject names.

Parameters:
subj_templatestr

Subject template to use.

struc_templatestr

Structural template to use.

freeze()

Freeze the object so that only existing properties can be set

save(fname)

Save to a YAML file.

Parameters:
fnamestr

The filename to use. Should end in ‘.yml’.

unfreeze()

Unfreeze the object so that additional properties can be added