Main¶
UML diagrams presenting the flow of the analysis for each module are available here: https://github.com/ANCPLabOldenburg/MEG-QC-code/tree/main/diagrams
- meg_qc.calculation.meg_qc_pipeline.make_derivative_meg_qc(config_file_path, internal_config_file_path)[source]¶
Main function of MEG QC:
Parse parameters from config
Get the data .fif file for each subject using ancpbids
Run initial processing (filtering, epoching, resampling)
Run whole QC analysis for every subject, every fif
Save derivatives (csvs, html reports) into the file system using ancpbids.
- Parameters:
config_file_path (str) – Path the config file with all the parameters for the QC analysis and data directory path.
internal_config_file_path (str) – Path the config file with all the parameters for the QC analysis preset - not to be changed by the user.
- Returns:
raw – The raw MEG data.
- Return type:
mne.io.Raw