You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/modality-specific-files/physiological-recordings.md
+9-19Lines changed: 9 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -416,7 +416,7 @@ A guide for using macros can be found at
416
416
},
417
417
}) }}
418
418
419
-
## Physiology "events"
419
+
###Physiology "events"
420
420
421
421
Discontinuous data associated with continuous recordings
422
422
stored in `<matches>_physio.tsv.gz` files MAY be specified
@@ -555,13 +555,9 @@ the `OnsetSource` is set to `"n/a"` in `sub-01_task-nback_physioevents.json`:
555
555
556
556
<!-- #!# This needs to be fixed -->
557
557
558
-
### 2. JSON Data files
558
+
**JSON Data files**. All metadata we are proposing are either **OPTIONAL** or **RECOMMENDED**, and they are meant to enrich the current `"generic"``PhysioType`. However, we are also suggesting the introduction of a `"enriched"``PhysioType`, that will differ from `"generic"` because one proposed metadata, `MeasureType`, will be **REQUIRED** rather than **RECOMMENDED**. Equally, the `Units` metadata will be **REQUIRED** instead of **RECOMMENDED** in this case.
559
559
560
-
Metadata sidecar files (`<matches>_physio.json`) **SHOULD** define the field `PhysioType`. This field indicates a specific type of formatting, rather than a physiological modality. The `PhysioType``"generic"` value, being the default, **MUST** be assumed if the `PhysioType` metadata is not defined.
561
-
562
-
All metadata we are proposing are either **OPTIONAL** or **RECOMMENDED**, and they are meant to enrich the current `"generic"``PhysioType`. However, we are also suggesting the introduction of a `"enriched"``PhysioType`, that will differ from `"generic"` because one proposed metadata, `MeasureType`, will be **REQUIRED** rather than **RECOMMENDED**. Equally, the `Units` metadata will be **REQUIRED** instead of **RECOMMENDED** in this case.
563
-
564
-
Compared to the current BIDS specification (1.10.0), at the file level we are adding one metadata, the **OPTIONAL**`SubjectPosition`, indicating the position of the subject during the data collection (see section 2.1).
560
+
Compared to the current BIDS specification (1.10.0), at the file level we are adding one metadata, the **OPTIONAL**`SubjectPosition`, indicating the position of the subject during the data collection (see below "Metadata fields used in top level metadata").
565
561
566
562
When specifying column names, columns **MUST** have unique names. All such data columns **MUST** be appropriately defined in the JSON metadata.
567
563
@@ -573,39 +569,33 @@ When specifying column names, columns **MUST** have unique names. All such data
573
569
"SamplingFrequency": 1000,
574
570
"SubjectPosition": "sitting",
575
571
"PhysioType": "enriched",
576
-
...
577
572
"screda1": {
578
573
"MeasureType": "EDA-phasic",
579
574
"Units": "mS",
580
575
"Placement": "Thenar",
581
-
...
582
576
},
583
577
"screda2": {
584
578
"MeasureType": "EDA-tonic",
585
579
"Units": "mS",
586
580
"Placement": "Hypothenar",
587
-
...
588
581
},
589
582
"ecg": {
590
583
"MeasureType": "ECG",
591
584
"Units": "mV",
592
585
"Placement": "II",
593
-
...
594
586
},
595
587
"ppg": {
596
588
"MeasureType": "PPG",
597
589
"Units": "au",
598
590
"Placement": "Right earlobe",
599
-
...
600
-
},
601
-
...
591
+
}
602
592
}
603
593
```
604
594
605
-
As described in the following table (Section 2.2), this BEP is adding a few metadata to describe columns.
595
+
As described in the table below ("Metadata fields for column description."), this BEP is adding a few metadata to describe columns.
606
596
607
597
- The most important one is `MeasureType`, a **RECOMMENDED** metadata that indicates the actual nature of the data in the column.
608
-
- This metadata value is a string that **MUST** come from a set of keywords (see table 2.2).
598
+
- This metadata value is a string that **MUST** come from a set of keywords.
609
599
- This set of keywords can be expanded in the future to include more physiological modalities.
610
600
- When the file-level metadata `PhysioType` is `"enriched"`, `MeasureType` becomes a **REQUIRED** field for each column.
611
601
@@ -635,15 +625,15 @@ More information about the metadata entities contained in the JSON files can be
635
625
636
626
---
637
627
638
-
### 2.1 Metadata fields used in top level metadata
0 commit comments