mne-bids-pipeline icon indicating copy to clipboard operation
mne-bids-pipeline copied to clipboard

ENH: Add movement compensation and related functions

Open larsoner opened this issue 3 years ago • 1 comments

Potential plan (feel free to comment @agramfort @hoechenberger @drammock):

  • [x] BIDS-ify dataset from https://github.com/ilabsbrainteam/2022-Best-Practices-Infant-MEG
  • [x] Verify locally that it processes with a suitable config (without movecomp, without source space analysis)
  • [x] Upload to OpenNeuro: https://openneuro.org/datasets/ds004229/versions/1.0.0
  • [x] Add test where this dataset is processed using the existing pipeline without movement compensation: https://github.com/mne-tools/mne-bids-pipeline/pull/582
  • [x] Add head position estimation + cHPI filtering + movement compensation: #747
  • [x] Add mf_destination to set the destination param: #747
  • [x] Add movement and cHPI SNR plots to reports: #747
  • [x] Refactor _get_raw_paths to not append the noise and rest runs: #749
  • [x] Add annotation of bad segments based on movements: #757
  • [x] Add eSSS option: #762
  • [ ] Add time-weighted-average-destination per-subject (https://github.com/mne-tools/mne-python/pull/12445)
  • [ ] Add mf_bads option (#760)

This would more or less cover the pediatric portion of the EOSS4 grant I think.

larsoner avatar Jul 28 '22 18:07 larsoner

For the first step I think I got the dataset converted, but the validator complained:

	1: [WARN] The Authors field of dataset_description.json should contain an array of fields - with one author per field. This was triggered based on the presence of only one author field. Please ignore if all contributors are already properly listed. (code: 102 - TOO_FEW_AUTHORS)

... which was good, because I had created a dataset with no authors (whoops!).

This prompted https://github.com/mne-tools/mne-bids/issues/1024. Once that's sorted I'll continue!

larsoner avatar Jul 28 '22 20:07 larsoner