diff --git a/src/02-common-principles.md b/src/02-common-principles.md index 8a0554941b..a19f5fa47c 100644 --- a/src/02-common-principles.md +++ b/src/02-common-principles.md @@ -434,10 +434,12 @@ files where commas are replaced by tabs. Tabs MUST be true tab characters and MUST NOT be a series of space characters. Each TSV file MUST start with a header line listing the names of all columns (with the exception of [physiological and other continuous recordings](04-modality-specific-files/06-physiological-and-other-continuous-recordings.md)). -Names MUST be separated with tabs. It is RECOMMENDED that the column names in the header of the TSV file are written in [`snake_case`](https://en.wikipedia.org/wiki/Snake_case) with the first letter in lower case (for example, `variable_name`, not `Variable_name`). +As for all other data in the TSV files, column names MUST be separated with tabs. +Furthermore, column names MUST NOT be blank (that is, an empty string) and MUST NOT +be duplicated within a single TSV file. String values containing tabs MUST be escaped using double quotes. Missing and non-applicable values MUST be coded as `n/a`. Numerical values MUST employ the dot (`.`) as decimal separator and MAY be specified diff --git a/src/04-modality-specific-files/06-physiological-and-other-continuous-recordings.md b/src/04-modality-specific-files/06-physiological-and-other-continuous-recordings.md index 06a90f3f3a..c61b0eaafb 100644 --- a/src/04-modality-specific-files/06-physiological-and-other-continuous-recordings.md +++ b/src/04-modality-specific-files/06-physiological-and-other-continuous-recordings.md @@ -1,5 +1,14 @@ # Physiological and other continuous recordings +Physiological recordings such as cardiac and respiratory signals and other +continuous measures (such as parameters of a film or audio stimuli) MAY be +specified using two files: + +1. a [gzip](https://datatracker.ietf.org/doc/html/rfc1952) + compressed TSV file with data (without header line) + +1. a JSON file for storing metadata fields (see below) + [Example datasets](https://github.com/bids-standard/bids-examples) with physiological data have been formatted using this specification and can be used for practical guidance when curating a new dataset: @@ -18,8 +27,6 @@ sub-