CONP-PCNO / EEGNet-roadmap

EEGNet repository
MIT License
2 stars 0 forks source link

Update Face13 dataset: Migrate Annotations to Events #98

Open christinerogers opened 1 year ago

christinerogers commented 1 year ago

per channel tagging plan, face-13 contains older annotations that should be updated this spring.

Andesha commented 1 year ago

Updates to standards and discussions have made it clear that "annotations" are to be treated as base task events and as such, can be present in a typical BIDS "_events.tsv". The process of migrating external annotation files on any datasets that followed the in-progress at the time BEP021 standard could be generalised based on a script outlined below.

  1. Load a subject's external annotation files and their associated sidecars
  2. Load a subject's current events files
  3. Rename standard annotations columns to matching events columns
  4. Package any extra annotation information as a BIDS "optional column"
  5. Prompt for missing or desirable information, i.e. HED tags
  6. Create new events file by appending annotations to current events file
  7. Sort new events file
  8. Save newly merged events file
  9. Make sure subject passes a bids validation checker

This would be repeated for each subject with helpful functions provided for file path operations.

christinerogers commented 1 year ago

To move this to complete: