pybemobil.preproc.get_derivative_paths#
- pybemobil.preproc.get_derivative_paths(fname_out)[source]#
Return the paths of all derivatives
EEGPreprocessorwrites.File names follow BIDS: the entities in the file name of fname_out (
sub-,ses-,task-,run-, …) are kept, its suffix (e.g._eeg) and anydesc-entity are dropped, and each output gets adesc-label or its own suffix. The extension of fname_out (.fifor.fif.gz, default.fif) is used for the FIF files. For<dir>/sub-01_task-walk_eeg.fif.gz:"clean":sub-01_task-walk_desc-clean_eeg.fif.gz"pre_ica":sub-01_task-walk_desc-preica_eeg.fif.gz"ica":sub-01_task-walk_ica.fif.gz"iclabels":sub-01_task-walk_iclabels.json"bad_channels":sub-01_task-walk_badchannels.json"dipoles":sub-01_task-walk_dipoles/(one file per IC)"trans":sub-01_task-walk_trans.fif"report":sub-01_task-walk_report.html"figures":sub-01_task-walk_figures/(report images, e.g. the joint ERP plots)
All paths are in the folder of fname_out. The untouched input is not a derivative; it goes to the raw part of the BIDS dataset (see
save_bids_rawinEEGPreprocessor).- Parameters:
- fname_out
str|Path The fname_out passed to
EEGPreprocessor.run_raw().
- fname_out
- Returns: