Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] update definition acq_time for sessions.tsv #986

Merged
merged 4 commits into from
Feb 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/03-modality-agnostic-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ Such recordings MUST be documented with one row per file.
{{ MACROS___make_columns_table(
{
"filename": ("REQUIRED", "There MUST be exactly one row for each file."),
"acq_time": "OPTIONAL",
"acq_time__scans": ("OPTIONAL"),
}
) }}

Expand Down Expand Up @@ -444,7 +444,7 @@ Column names in `sessions.tsv` files MUST be different from group level particip
{{ MACROS___make_columns_table(
{
"session_id": ("REQUIRED", "There MUST be exactly one row for each session."),
"acq_time": "OPTIONAL",
"acq_time__sessions": ("OPTIONAL"),
"pathology": "RECOMMENDED",
}
) }}
Expand Down
27 changes: 11 additions & 16 deletions src/schema/objects/columns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,20 @@ abbreviation:
description: |
The unique label abbreviation
type: string
acq_time:
acq_time__scans:
name: acq_time
description: |
Acquisition time refers to when the first data point in each run was acquired.
Furthermore, if this header is provided, the acquisition times of all files that
belong to a recording MUST be identical.

Datetime should be expressed as described in [Units](/02-common-principles.html#units).

For anonymization purposes all dates within one subject should be shifted by a randomly
chosen (but consistent across all recordings) number of days.
This way relative timing would be preserved, but chances of identifying a person based
on the date and time of their scan would be decreased.
Dates that are shifted for anonymization purposes SHOULD be set to the year 1925 or earlier
to clearly distinguish them from unmodified data.
Note that some data formats do not support arbitrary recording dates.
For example, the [EDF](https://www.edfplus.info/)
data format can only contain recording dates after 1985.
Shifting dates is RECOMMENDED, but not required.
Furthermore, if this header is provided, the acquisition times of all files
from the same recording MUST be identical.
Datetime format and their anonymization are described in [Units](/02-common-principles.html#units).
type: string
format: datetime
acq_time__sessions:
name: acq_time
description: |
Acquisition time refers to when the first data point of the first run was acquired.
Datetime format and their anonymization are described in [Units](/02-common-principles.html#units).
type: string
format: datetime
age:
Expand Down