[SCHEMA] Refactor channel types #1126
Labels
schema
Issues related to the YAML schema representation of the specification. Patch version release.
schema-structure
Changes to the fundamental organization/structure of the YAML schema. Minor version release.
We have lists of coordinate systems for different modalities
For example: MEG, EEG
Coordinate systems from EEG may also be used in MEG
This is nicely expressed in the schema, see the
$ref
items:bids-specification/src/schema/objects/metadata.yaml
Lines 60 to 72 in 24dbe58
The situation is similar for channel types: we have types defined in different modalities (search for
type__ieeg_channels
,type__eeg_channels
,type__meg_channels
)For example types like "EEG", "RESP", or "PUPIL" -- these are the same, regardless for which modality they are used (that is, specifying PUPIL in an EEG dataset is the same as PUPIL in an MEG dataset)
Currently these are organized as such:
bids-specification/src/schema/objects/columns.yaml
Lines 471 to 509 in 24dbe58
Meaning we have lots of duplication
Should we just have a single
type__channels
metadata entry? that is shared across the spec?Or should we keep them modality specific in "overarching variables", but then have a
type__channels
defined asThe text was updated successfully, but these errors were encountered: