Skip to content

MneExperiment Epochs

Christian Brodbeck edited this page Mar 31, 2020 · 1 revision

Processing sequence

Below is a list of processing steps from loading events to loading epoch data, for different types of epochs. Arrows to methods indicate MneExperiment methods which can be used to load data at that stage.

Primary epoch

  1. Load all events (using e.load_events())

  2. Apply sel event selection

  3. discard rejected trials

  4. Shift trigger position (i_start) by trigger_shift

  5. Add variables from vars (→ e.load_selected_events())

  6. Load MEG data for epochs

  7. baseline correction

  8. post_baseline_trigger_shift (→ e.load_epochs())

Secondary epoch (with base parameter)

  1. Load base events (using e.load_selected_events() for base epoch)

  2. Apply sel event selection

  3. Shift trigger position (i_start) by trigger_shift

  4. Add variables from vars (→ e.load_selected_events())

  5. Load MEG data for epochs

  6. baseline correction

  7. post_baseline_trigger_shift (→ e.load_epochs())

Super-epoch (with sub parameter)

  1. Load events (using e.load_selected_events() for each sub-epoch). A new Factor “epoch” is added with the name of the sub-epoch from which each event stems.

  2. Shift trigger position (i_start) by trigger_shift

  3. Add variables from vars (→ e.load_selected_events())

  4. Load MEG data for epochs

  5. baseline correction

  6. post_baseline_trigger_shift (→ e.load_epochs())