ffrprep.group.save_group_outputs

ffrprep.group.save_group_outputs(derivatives_root, task, session, run, grand_average, subjects, desc='grandAverage')[source]

Save a grand-average Evoked and its provenance sidecar under derivatives_root/ffrprep-group/.

Parameters:
  • derivatives_root (str or pathlib.Path)

  • task (str or None)

  • session (str or None)

  • run (str or None)

  • grand_average (mne.Evoked)

  • subjects (list of str) – Subject labels that contributed to the grand average.

  • desc (str) – BIDS desc- entity for the grand-average file.

Returns:

evoked_path

Return type:

pathlib.Path