TSDF metadata fields
TSDF metadata is represented as a dictionary (or a JSON object). In this section, we will list the fields within the TSDF format, as described in the format specification. In addition to the mandatory fields, any custom fields and structures can be added.
TSDF v0.1 mandatory fields
Field |
Type |
Description |
---|---|---|
|
|
Unique identifier for the particular study. |
|
|
Specifies the device used for data collection. |
|
|
Unique identifier for the subject or participant in the study. |
|
|
Name of the original source file containing the data. |
|
|
Byte order for numerical values in binary data (“big” or “little”). |
|
|
Version information for the metadata. |
|
|
ISO 8601 time stamp for the start of the recording, with ms precision. |
|
|
Same as |
|
|
The name of the file in consideration, e.g., “eeee.bin”. |
|
|
Labels for each data channel (e.g.: |
|
|
Encoding type for time, e.g., “difference”. |
|
|
Units for each channel in the data, e.g., “ms” for milliseconds. |
|
|
Number format of the measured data (e.g.: |
|
|
Bit-length of the number format (e.g., 32-bit). |
|
|
Number of rows in the data matrix. |
Legacy fields
The following table lists the legacy fields from the time when the format was called TSDB, along with their updated counterparts:
Legacy field |
Updated field |
Updated data type |
---|---|---|
|
|
- |
|
|
|
|
|
|
|
|
- |
|
|
- |
|
|
- |
Note
As presented in the table above, the quantities
and units
fields are required to be arrays within the TSDF standard.