zoukankan      html  css  js  c++  java
  • One EEG preprocessing pipeline

    The preprocessing pipeline of EEG data from EEG-fMRI paradigm differs from that of regular EEG data, because they are mainly influenced by MRI artefacts. However, after removing the MRI artefacts at the first step, following ones would be the same as the regular pipeline.


    Figure above: an example of raw EEG data with MRI artefacts - the very dense part. Only after removing the dominating artefacts could we go on with other preprocessing and analyses.

    Environment requirement

    • Matlab (R2015b).
    • EEGLab toolbox (v13.6.5b). Plug-ins needed: BERGEN, FMRIB, AAR.

    Testing data

    Acquired using an Brain Products system with 64 scalp channels. Standard procedure to setup the EEG system: fs = 5000 Hz, low-pass hard ware filter at 250 Hz. Using SyncBox to sync the EEG and fMRI clocks.
    Gathering continuous data for about 10-min.

    Pipeline

    1. Removing gradient artefacts: using BERGEN plug-in. Sliding window length for artefact template = 31.
    2. Filtering: first high-pass at 0.5 Hz, then low-pass at 45 Hz - do NOT using band-pass filter, do them separately.
    3. Resample the data to fs = 500 Hz. Resample before QRS detection is beneficial (as far as I can see).
    4. Detect R-peaks, visually check incorrect ones and remove cardiac artefacts: using FMRIB plug-in (optimal basis set: first 3 PCs used). Using Edit -> Event values to delete the incorrect QRS events.
    5. Import channel locations: using 'dipfit2.3standard_BESAstandard-10-5-cap385.elp'.
    6. Select the data points to be analysed - to save time.
    7. Remove ECG and bad channels (Must done before re-reference).
    8. Re-reference: average reference.
    9. Removing EOG (blinks) and EMG artefacts using AAR plug-in directly.

    Note

    • The data is a continuous data. For task data (i.e. you may epoch them first), baseline correction is needed.
    • The AAR plugin is good to detect EOG and EMG artefacts, but sometimes they do not pick up ICs relating to residuals of R-peak artefacts.
    • Considering what mentioned above, an alternative is using 'ICA + ADJUST plug-in' to replace AAR in step 9. This is a better strategy with enough experience on recognising artefact ICs.
    • Removing power interference may be needed sometimes: 'Tools -> Filter the data -> Basic FIR filter -> Lower & Higher: both 50Hz, using Notch filter'.
    • The steps and their order may vary among different groups, while the main parts remain unchanged.
    • Inspired by 52Brain. Thanks a lot to the contributors.
  • 相关阅读:
    Windows平板优化设置
    MAC OS UI设计
    使用bat/vbs/ahk对Windows下进行自动化操作
    C#在高性能计算领域为什么性能却如此不尽人意
    自定义多重搜索
    CF797E Array Queries
    标记永久化学习笔记
    P7200 [COCI2019-2020#1] Lutrija
    P1075 [NOIP2012 普及组] 质因数分解
    基础数论重学笔记
  • 原文地址:https://www.cnblogs.com/minks/p/5990196.html
Copyright © 2011-2022 走看看